{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\ForeignPolicyAnalysisSubmission\LogFile_FullResults.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}14 Mar 2022, 09:27:42

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment2.dta", clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Figure 2 
. 
. #delimit ;
{txt}delimiter now ;
{com}. graph bar, over(moral_interventioncategory) 
>      asyvars 
>      blabel(bar, format(%9.1f)) 
>      percentages
>      ytitle("Percent")
> ;
{res}{txt}
{com}. #delimit cr
{txt}delimiter now cr
{com}. 
. 
. 
. *Figure 3 
. 
. #delimit ;
{txt}delimiter now ;
{com}. graph bar, over(security_interventioncategory) 
>      asyvars 
>      blabel(bar, format(%9.1f)) 
>      percentages
>      ytitle("Percent")
> ;
{res}{txt}
{com}. #delimit cr
{txt}delimiter now cr
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment1.dta", clear
{txt}
{com}. 
. *Pr Tests for Experiment 1 
. 
. prtest dvq27reversed_aboria if treatment==1 | treatment==8, by(treatment) 

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      25
                                                   8{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17}      .48{col 28}   .09992{col 58} .2841605{col 70} .6758395
           {txt}8 {c |}{res}{col 17} .7142857{col 28} .0985808{col 58} .5210709{col 70} .9075005
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2342857{col 28} .1403644{col 58}-.5093949{col 70} .0408235
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1457472{col 38}   -1.61{col 49}0.108
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -1.6075
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0540         {txt}Pr(|Z| > |z|) = {res}0.1079          {txt}Pr(Z > z) = {res}0.9460
{txt}
{com}. prtest dvq27reversed_aboria if treatment==4 | treatment==11, by(treatment) 

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      25
                                                  11{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17}       .6{col 28} .0979796{col 58} .4079635{col 70} .7920365
          {txt}11 {c |}{res}{col 17}    .8125{col 28} .0975781{col 58} .6212505{col 70}  1.00375
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}   -.2125{col 28} .1382805{col 58}-.4835247{col 70} .0585247
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1489803{col 38}   -1.43{col 49}0.154
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.4264
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0769         {txt}Pr(|Z| > |z|) = {res}0.1538          {txt}Pr(Z > z) = {res}0.9231
{txt}
{com}. prtest dvq27reversed_aboria if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      23
                                                  12{txt}: Number of obs = {res}      24
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .6086957{col 28} .1017638{col 58} .4092422{col 70} .8081491
          {txt}12 {c |}{res}{col 17} .7083333{col 28} .0927805{col 58} .5264869{col 70} .8901797
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.0996377{col 28} .1377102{col 58}-.3695447{col 70} .1702693
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1382682{col 38}   -0.72{col 49}0.471
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -0.7206
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2356         {txt}Pr(|Z| > |z|) = {res}0.4711          {txt}Pr(Z > z) = {res}0.7644
{txt}
{com}. prtest dvq27reversed_aboria if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      22
                                                   9{txt}: Number of obs = {res}      22
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .6818182{col 28} .0993026{col 58} .4871887{col 70} .8764477
           {txt}9 {c |}{res}{col 17} .6818182{col 28} .0993026{col 58} .4871887{col 70} .8764477
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}        0{col 28} .1404351{col 58}-.2752477{col 70} .2752477
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1404351{col 38}    0.00{col 49}1.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res}  0.0000
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.5000         {txt}Pr(|Z| > |z|) = {res}1.0000          {txt}Pr(Z > z) = {res}0.5000
{txt}
{com}. prtest dvq27reversed_aboria if treatment==3 | treatment==10, by(treatment) 

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}       6
                                                  10{txt}: Number of obs = {res}      14
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17}        0{col 28}        0{col 58}        0{col 70}        0
          {txt}10 {c |}{res}{col 17} .9285714{col 28} .0688303{col 58} .7936665{col 70} 1.063476
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.9285714{col 28} .0688303{col 58}-1.063476{col 70}-.7936665
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .2327373{col 38}   -3.99{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.9898
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27reversed_aboria if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      24
                                                  13{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}     .375{col 28} .0988212{col 58} .1813141{col 70} .5686859
          {txt}13 {c |}{res}{col 17} .7619048{col 28} .0929429{col 58} .5797401{col 70} .9440694
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3869048{col 28} .1356613{col 58}-.6527961{col 70}-.1210134
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1484785{col 38}   -2.61{col 49}0.009
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.6058
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0046         {txt}Pr(|Z| > |z|) = {res}0.0092          {txt}Pr(Z > z) = {res}0.9954
{txt}
{com}. prtest dvq27reversed_aboria if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      20
                                                  14{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}       .5{col 28} .1118034{col 58} .2808694{col 70} .7191306
          {txt}14 {c |}{res}{col 17} .9047619{col 28} .0640564{col 58} .7792136{col 70}  1.03031
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4047619{col 28} .1288535{col 58}-.6573102{col 70}-.1522137
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1421586{col 38}   -2.85{col 49}0.004
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.8473
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0022         {txt}Pr(|Z| > |z|) = {res}0.0044          {txt}Pr(Z > z) = {res}0.9978
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment2.dta", clear
{txt}
{com}. 
. *Pr Tests for Experiment 2 
. 
. prtest dvq27_aboria_n if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      94
                                                   8{txt}: Number of obs = {res}      81
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .3723404{col 28} .0498618{col 58}  .274613{col 70} .4700678
           {txt}8 {c |}{res}{col 17} .7407407{col 28}  .048692{col 58} .6453061{col 70} .8361753
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3684003{col 28}  .069693{col 58}-.5049961{col 70}-.2318045
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0755234{col 38}   -4.88{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.8780
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      97
                                                  11{txt}: Number of obs = {res}      91
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3195876{col 28} .0473473{col 58} .2267886{col 70} .4123866
          {txt}11 {c |}{res}{col 17} .5824176{col 28} .0516973{col 58} .4810928{col 70} .6837424
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}  -.26283{col 28} .0701026{col 58}-.4002285{col 70}-.1254314
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0725556{col 38}   -3.62{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.6225
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0003          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq27_aboria_n if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      99
                                                  12{txt}: Number of obs = {res}      87
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3737374{col 28} .0486232{col 58} .2784376{col 70} .4690372
          {txt}12 {c |}{res}{col 17} .7471264{col 28} .0466003{col 58} .6557914{col 70} .8384614
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3733891{col 28} .0673484{col 58}-.5053896{col 70}-.2413886
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0731318{col 38}   -5.11{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -5.1057
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      94
                                                   9{txt}: Number of obs = {res}      93
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2659574{col 28} .0455725{col 58}  .176637{col 70} .3552779
           {txt}9 {c |}{res}{col 17}  .688172{col 28} .0480357{col 58} .5940237{col 70} .7823204
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4222146{col 28} .0662139{col 58}-.5519915{col 70}-.2924377
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0730435{col 38}   -5.78{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -5.7803
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      96
                                                  10{txt}: Number of obs = {res}      89
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3541667{col 28} .0488122{col 58} .2584965{col 70} .4498368
          {txt}10 {c |}{res}{col 17} .6853933{col 28}  .049222{col 58}   .58892{col 70} .7818665
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3312266{col 28} .0693212{col 58}-.4670937{col 70}-.1953595
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0735473{col 38}   -4.50{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -4.5036
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      97
                                                  13{txt}: Number of obs = {res}      92
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .3298969{col 28} .0477391{col 58}   .23633{col 70} .4234638
          {txt}13 {c |}{res}{col 17} .5869565{col 28} .0513342{col 58} .4863433{col 70} .6875697
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2570596{col 28} .0701015{col 58}-.3944561{col 70}-.1196632
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0724698{col 38}   -3.55{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -3.5471
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0004          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. prtest dvq27_aboria_n if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      98
                                                  14{txt}: Number of obs = {res}      95
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}  .377551{col 28} .0489696{col 58} .2815723{col 70} .4735297
          {txt}14 {c |}{res}{col 17} .5789474{col 28} .0506554{col 58} .4796646{col 70} .6782302
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2013963{col 28} .0704556{col 58}-.3394868{col 70}-.0633059
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .071912{col 38}   -2.80{col 49}0.005
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.8006
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0026         {txt}Pr(|Z| > |z|) = {res}0.0051          {txt}Pr(Z > z) = {res}0.9974
{txt}
{com}.  
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Table 2 
. 
. use "experiment1.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 1 
. 
. prtest dvq28reversed_venezuela if treatment==1 | treatment==8, by(treatment) 

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      24
                                                   8{txt}: Number of obs = {res}      22
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .5833333{col 28} .1006346{col 58} .3860932{col 70} .7805734
           {txt}8 {c |}{res}{col 17} .9545455{col 28} .0444095{col 58} .8675045{col 70} 1.041586
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3712121{col 28} .1099978{col 58}-.5868038{col 70}-.1556204
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1259025{col 38}   -2.95{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -2.9484
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0016         {txt}Pr(|Z| > |z|) = {res}0.0032          {txt}Pr(Z > z) = {res}0.9984
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      27
                                                  11{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .6666667{col 28} .0907218{col 58} .4888551{col 70} .8444782
          {txt}11 {c |}{res}{col 17} .7894737{col 28} .0935288{col 58} .6061607{col 70} .9727867
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.122807{col 28}    .1303{col 58}-.3781903{col 70} .1325762
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1348314{col 38}   -0.91{col 49}0.362
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -0.9108
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1812         {txt}Pr(|Z| > |z|) = {res}0.3624          {txt}Pr(Z > z) = {res}0.8188
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      23
                                                  12{txt}: Number of obs = {res}      25
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .5217391{col 28} .1041586{col 58}  .317592{col 70} .7258863
          {txt}12 {c |}{res}{col 17}      .92{col 28} .0542586{col 58}  .813655{col 70} 1.026345
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3982609{col 28} .1174437{col 58}-.6284463{col 70}-.1680755
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1283959{col 38}   -3.10{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -3.1018
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0010         {txt}Pr(|Z| > |z|) = {res}0.0019          {txt}Pr(Z > z) = {res}0.9990
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==2 | treatment==9, by(treatment)

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      23
                                                   9{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .6521739{col 28} .0993113{col 58} .4575273{col 70} .8468206
           {txt}9 {c |}{res}{col 17} .9130435{col 28} .0587534{col 58}  .797889{col 70} 1.028198
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2608696{col 28} .1153894{col 58}-.4870285{col 70}-.0347106
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1216311{col 38}   -2.14{col 49}0.032
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.1448
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0160         {txt}Pr(|Z| > |z|) = {res}0.0320          {txt}Pr(Z > z) = {res}0.9840
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      21
                                                  10{txt}: Number of obs = {res}      22
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .8095238{col 28} .0856891{col 58} .6415763{col 70} .9774713
          {txt}10 {c |}{res}{col 17} .7727273{col 28} .0893461{col 58} .5976122{col 70} .9478423
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} .0367965{col 28} .1237956{col 58}-.2058383{col 70} .2794314
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1241096{col 38}    0.30{col 49}0.767
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res}  0.2965
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.6166         {txt}Pr(|Z| > |z|) = {res}0.7669          {txt}Pr(Z > z) = {res}0.3834
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      24
                                                  13{txt}: Number of obs = {res}      24
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .4583333{col 28} .1017071{col 58} .2589911{col 70} .6576755
          {txt}13 {c |}{res}{col 17} .7916667{col 28} .0828982{col 58} .6291892{col 70} .9541441
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3333333{col 28} .1312114{col 58} -.590503{col 70}-.0761637
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1397542{col 38}   -2.39{col 49}0.017
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.3851
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0085         {txt}Pr(|Z| > |z|) = {res}0.0171          {txt}Pr(Z > z) = {res}0.9915
{txt}
{com}. prtest dvq28reversed_venezuela if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      20
                                                  14{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}      .75{col 28} .0968246{col 58} .5602273{col 70} .9397727
          {txt}14 {c |}{res}{col 17}  .826087{col 28} .0790342{col 58} .6711828{col 70} .9809911
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.076087{col 28} .1249856{col 58}-.3210543{col 70} .1688803
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1243791{col 38}   -0.61{col 49}0.541
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -0.6117
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2704         {txt}Pr(|Z| > |z|) = {res}0.5407          {txt}Pr(Z > z) = {res}0.7296
{txt}
{com}. 
. 
. use "experiment2.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 2 
. 
. prtest dvq28_venezuela_n if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      97
                                                   8{txt}: Number of obs = {res}      99
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .5051546{col 28} .0507646{col 58} .4056578{col 70} .6046514
           {txt}8 {c |}{res}{col 17} .8686869{col 28} .0339444{col 58} .8021571{col 70} .9352167
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3635322{col 28} .0610677{col 58}-.4832228{col 70}-.2438417
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0661455{col 38}   -5.50{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -5.4959
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      98
                                                  11{txt}: Number of obs = {res}      96
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .4897959{col 28} .0504971{col 58} .3908234{col 70} .5887684
          {txt}11 {c |}{res}{col 17} .7083333{col 28} .0463902{col 58} .6174101{col 70} .7992565
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2185374{col 28} .0685712{col 58}-.3529345{col 70}-.0841403
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0704088{col 38}   -3.10{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.1038
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0010         {txt}Pr(|Z| > |z|) = {res}0.0019          {txt}Pr(Z > z) = {res}0.9990
{txt}
{com}. prtest dvq28_venezuela_n if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      96
                                                  12{txt}: Number of obs = {res}      89
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .4166667{col 28} .0503173{col 58} .3180466{col 70} .5152867
          {txt}12 {c |}{res}{col 17} .7640449{col 28} .0450069{col 58}  .675833{col 70} .8522568
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3473783{col 28} .0675089{col 58}-.4796933{col 70}-.2150633
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0725339{col 38}   -4.79{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -4.7892
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n if treatment==2 | treatment==9, by(treatment)

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      91
                                                   9{txt}: Number of obs = {res}      96
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .4175824{col 28} .0516973{col 58} .3162576{col 70} .5189072
           {txt}9 {c |}{res}{col 17}   .71875{col 28}  .045888{col 58} .6288111{col 70} .8086889
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3011676{col 28} .0691254{col 58}-.4366509{col 70}-.1656843
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0723869{col 38}   -4.16{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -4.1605
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n if treatment==3 | treatment==10, by(treatment) 

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      96
                                                  10{txt}: Number of obs = {res}      91
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3854167{col 28}  .049673{col 58} .2880595{col 70} .4827739
          {txt}10 {c |}{res}{col 17} .7582418{col 28} .0448822{col 58} .6702743{col 70} .8462092
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3728251{col 28} .0669463{col 58}-.5040375{col 70}-.2416127
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0724967{col 38}   -5.14{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -5.1426
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      97
                                                  13{txt}: Number of obs = {res}      99
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .4329897{col 28} .0503093{col 58} .3343852{col 70} .5315941
          {txt}13 {c |}{res}{col 17} .7979798{col 28}  .040353{col 58} .7188894{col 70} .8770702
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3649901{col 28} .0644933{col 58}-.4913947{col 70}-.2385855
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0694371{col 38}   -5.26{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -5.2564
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      97
                                                  14{txt}: Number of obs = {res}      97
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .4742268{col 28} .0506998{col 58}  .374857{col 70} .5735966
          {txt}14 {c |}{res}{col 17} .7216495{col 28} .0455065{col 58} .6324584{col 70} .8108406
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2474227{col 28} .0681272{col 58}-.3809495{col 70}-.1138959
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .070405{col 38}   -3.51{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.5143
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0004          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Table 3 
. 
. use "experiment1.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 1 
. 
. prtest dvq29reversed_cameroon if treatment==1 | treatment==8, by(treatment) 

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      25
                                                   8{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17}      .32{col 28} .0932952{col 58} .1371447{col 70} .5028553
           {txt}8 {c |}{res}{col 17} .8095238{col 28} .0856891{col 58} .6415763{col 70} .9774713
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4895238{col 28} .1266753{col 58}-.7378027{col 70}-.2412449
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .147442{col 38}   -3.32{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.3201
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0004         {txt}Pr(|Z| > |z|) = {res}0.0009          {txt}Pr(Z > z) = {res}0.9996
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      28
                                                  11{txt}: Number of obs = {res}      15
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .4642857{col 28} .0942498{col 58} .2795596{col 70} .6490119
          {txt}11 {c |}{res}{col 17}       .4{col 28} .1264911{col 58}  .152082{col 70}  .647918
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} .0642857{col 28} .1577435{col 58}-.2448859{col 70} .3734573
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1588999{col 38}    0.40{col 49}0.686
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res}  0.4046
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.6571         {txt}Pr(|Z| > |z|) = {res}0.6858          {txt}Pr(Z > z) = {res}0.3429
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      25
                                                  12{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17}      .28{col 28} .0897998{col 58} .1039957{col 70} .4560043
          {txt}12 {c |}{res}{col 17} .7142857{col 28} .0985808{col 58} .5210709{col 70} .9075005
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4342857{col 28} .1333498{col 58}-.6956465{col 70}-.1729249
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1478626{col 38}   -2.94{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.9371
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0017         {txt}Pr(|Z| > |z|) = {res}0.0033          {txt}Pr(Z > z) = {res}0.9983
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==2 | treatment==9, by(treatment)

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      24
                                                   9{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2916667{col 28} .0927805{col 58} .1098203{col 70} .4735131
           {txt}9 {c |}{res}{col 17} .5789474{col 28}  .113269{col 58} .3569443{col 70} .8009505
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2872807{col 28} .1464175{col 58}-.5742537{col 70}-.0003077
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .151492{col 38}   -1.90{col 49}0.058
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -1.8963
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0290         {txt}Pr(|Z| > |z|) = {res}0.0579          {txt}Pr(Z > z) = {res}0.9710
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==3 | treatment==10, by(treatment)

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      24
                                                  10{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .5416667{col 28} .1017071{col 58} .3423245{col 70} .7410089
          {txt}10 {c |}{res}{col 17} .7777778{col 28} .0979908{col 58} .5857194{col 70} .9698362
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2361111{col 28} .1412322{col 58}-.5129211{col 70} .0406988
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1494036{col 38}   -1.58{col 49}0.114
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -1.5804
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0570         {txt}Pr(|Z| > |z|) = {res}0.1140          {txt}Pr(Z > z) = {res}0.9430
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      24
                                                  13{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}     .375{col 28} .0988212{col 58} .1813141{col 70} .5686859
          {txt}13 {c |}{res}{col 17} .5789474{col 28}  .113269{col 58} .3569443{col 70} .8009505
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2039474{col 28} .1503179{col 58}-.4985651{col 70} .0906704
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .153166{col 38}   -1.33{col 49}0.183
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -1.3315
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0915         {txt}Pr(|Z| > |z|) = {res}0.1830          {txt}Pr(Z > z) = {res}0.9085
{txt}
{com}. prtest dvq29reversed_cameroon if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      20
                                                  14{txt}: Number of obs = {res}      20
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}      .45{col 28}  .111243{col 58} .2319678{col 70} .6680322
          {txt}14 {c |}{res}{col 17}      .75{col 28} .0968246{col 58} .5602273{col 70} .9397727
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}      -.3{col 28} .1474788{col 58}-.5890532{col 70}-.0109468
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1549193{col 38}   -1.94{col 49}0.053
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -1.9365
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0264         {txt}Pr(|Z| > |z|) = {res}0.0528          {txt}Pr(Z > z) = {res}0.9736
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment2.dta", clear
{txt}
{com}. 
. *Pr Tests for Experiment 2 
. 
. prtest dvq29_cameroon_n if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      96
                                                   8{txt}: Number of obs = {res}     116
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1979167{col 28} .0406645{col 58} .1182157{col 70} .2776176
           {txt}8 {c |}{res}{col 17} .8189655{col 28} .0357507{col 58} .7488954{col 70} .8890356
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.6210489{col 28} .0541453{col 58}-.7271717{col 70} -.514926
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0687912{col 38}   -9.03{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -9.0280
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      97
                                                  11{txt}: Number of obs = {res}      85
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .2268041{col 28} .0425191{col 58} .1434682{col 70} .3101401
          {txt}11 {c |}{res}{col 17} .6352941{col 28} .0522095{col 58} .5329654{col 70} .7376228
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}  -.40849{col 28} .0673328{col 58}-.5404599{col 70}-.2765201
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0732704{col 38}   -5.58{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -5.5751
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      96
                                                  12{txt}: Number of obs = {res}      85
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2083333{col 28} .0414491{col 58} .1270946{col 70}  .289572
          {txt}12 {c |}{res}{col 17} .6588235{col 28} .0514239{col 58} .5580346{col 70} .7596124
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4504902{col 28} .0660488{col 58}-.5799434{col 70} -.321037
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .073505{col 38}   -6.13{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -6.1287
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      94
                                                   9{txt}: Number of obs = {res}      95
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1702128{col 28} .0387628{col 58}  .094239{col 70} .2461865
           {txt}9 {c |}{res}{col 17} .6105263{col 28} .0500299{col 58} .5124696{col 70} .7085831
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4403135{col 28} .0632894{col 58}-.5643585{col 70}-.3162686
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0710081{col 38}   -6.20{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -6.2009
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==3 | treatment==10, by(treatment)

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      96
                                                  10{txt}: Number of obs = {res}      82
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2916667{col 28} .0463902{col 58} .2007435{col 70} .3825899
          {txt}10 {c |}{res}{col 17} .7073171{col 28} .0502457{col 58} .6088373{col 70} .8057968
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4156504{col 28} .0683863{col 58}-.5496851{col 70}-.2816157
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0751434{col 38}   -5.53{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -5.5314
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}     102
                                                  13{txt}: Number of obs = {res}      87
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .1470588{col 28} .0350675{col 58} .0783278{col 70} .2157899
          {txt}13 {c |}{res}{col 17} .6091954{col 28} .0523117{col 58} .5066664{col 70} .7117244
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4621366{col 28} .0629781{col 58}-.5855714{col 70}-.3387018
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0700417{col 38}   -6.60{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -6.5980
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      94
                                                  14{txt}: Number of obs = {res}      89
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .1914894{col 28} .0405837{col 58} .1119468{col 70} .2710319
          {txt}14 {c |}{res}{col 17} .6292135{col 28} .0511995{col 58} .5288642{col 70} .7295627
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4377241{col 28} .0653332{col 58}-.5657748{col 70}-.3096734
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0725846{col 38}   -6.03{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -6.0305
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. 
. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment1.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 1 
. 
. prtest dvq30reversed_tariffs if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      27
                                                   8{txt}: Number of obs = {res}      24
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .2222222{col 28} .0800091{col 58} .0654072{col 70} .3790373
           {txt}8 {c |}{res}{col 17}     .625{col 28} .0988212{col 58} .4313141{col 70} .8186859
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4027778{col 28} .1271499{col 58}-.6519869{col 70}-.1535686
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1380695{col 38}   -2.92{col 49}0.004
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -2.9172
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0018         {txt}Pr(|Z| > |z|) = {res}0.0035          {txt}Pr(Z > z) = {res}0.9982
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      27
                                                  11{txt}: Number of obs = {res}      20
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3703704{col 28} .0929349{col 58} .1882213{col 70} .5525194
          {txt}11 {c |}{res}{col 17}       .5{col 28} .1118034{col 58} .2808694{col 70} .7191306
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1296296{col 28} .1453853{col 58}-.4145796{col 70} .1553204
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .145865{col 38}   -0.89{col 49}0.374
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -0.8887
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1871         {txt}Pr(|Z| > |z|) = {res}0.3742          {txt}Pr(Z > z) = {res}0.8129
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      23
                                                  12{txt}: Number of obs = {res}      24
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2608696{col 28} .0915605{col 58} .0814142{col 70} .4403249
          {txt}12 {c |}{res}{col 17}     .625{col 28} .0988212{col 58} .4313141{col 70} .8186859
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3641304{col 28} .1347181{col 58} -.628173{col 70}-.1000879
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1450701{col 38}   -2.51{col 49}0.012
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.5100
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0060         {txt}Pr(|Z| > |z|) = {res}0.0121          {txt}Pr(Z > z) = {res}0.9940
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==2 | treatment==9, by(treatment)  

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      25
                                                   9{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17}      .28{col 28} .0897998{col 58} .1039957{col 70} .4560043
           {txt}9 {c |}{res}{col 17} .6956522{col 28} .0959439{col 58} .5076056{col 70} .8836987
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4156522{col 28} .1314124{col 58}-.6732158{col 70}-.1580885
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1443376{col 38}   -2.88{col 49}0.004
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.8797
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0020         {txt}Pr(|Z| > |z|) = {res}0.0040          {txt}Pr(Z > z) = {res}0.9980
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      25
                                                  10{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17}      .24{col 28} .0854166{col 58} .0725865{col 70} .4074135
          {txt}10 {c |}{res}{col 17} .4782609{col 28} .1041586{col 58} .2741137{col 70}  .682408
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2382609{col 28} .1347034{col 58}-.5022748{col 70}  .025753
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1381818{col 38}   -1.72{col 49}0.085
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -1.7243
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0423         {txt}Pr(|Z| > |z|) = {res}0.0847          {txt}Pr(Z > z) = {res}0.9577
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      23
                                                  13{txt}: Number of obs = {res}      25
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}  .173913{col 28} .0790342{col 58} .0190089{col 70} .3288172
          {txt}13 {c |}{res}{col 17}      .68{col 28} .0932952{col 58} .4971447{col 70} .8628553
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.506087{col 28} .1222718{col 58}-.7457354{col 70}-.2664385
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}   .14333{col 38}   -3.53{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -3.5309
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0004          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. prtest dvq30reversed_tariffs if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      21
                                                  14{txt}: Number of obs = {res}      25
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .1428571{col 28} .0763604{col 58}-.0068064{col 70} .2925207
          {txt}14 {c |}{res}{col 17}      .72{col 28} .0897998{col 58} .5439957{col 70} .8960043
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5771429{col 28} .1178766{col 58}-.8081768{col 70}-.3461089
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .147442{col 38}   -3.91{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.9144
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. 
. 
. use "experiment2.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 2
. 
. prtest dvq30_tariffs_n if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}     106
                                                   8{txt}: Number of obs = {res}      92
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1698113{col 28} .0364686{col 58} .0983342{col 70} .2412884
           {txt}8 {c |}{res}{col 17} .6847826{col 28} .0484381{col 58} .5898456{col 70} .7797196
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5149713{col 28} .0606318{col 58}-.6338074{col 70}-.3961352
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0700577{col 38}   -7.35{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -7.3507
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}     105
                                                  11{txt}: Number of obs = {res}      97
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17}  .247619{col 28} .0421227{col 58} .1650601{col 70}  .330178
          {txt}11 {c |}{res}{col 17} .4948454{col 28} .0507646{col 58} .3953486{col 70} .5943422
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2472263{col 28} .0659649{col 58}-.3765151{col 70}-.1179375
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0678523{col 38}   -3.64{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.6436
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0003          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq30_tariffs_n if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}     109
                                                  12{txt}: Number of obs = {res}      96
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2018349{col 28} .0384442{col 58} .1264855{col 70} .2771842
          {txt}12 {c |}{res}{col 17} .5729167{col 28} .0504855{col 58}  .473967{col 70} .6718664
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3710818{col 28} .0634566{col 58}-.4954545{col 70}-.2467091
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0677836{col 38}   -5.47{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -5.4745
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}     105
                                                   9{txt}: Number of obs = {res}      93
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2095238{col 28} .0397161{col 58} .1316817{col 70} .2873659
           {txt}9 {c |}{res}{col 17} .5806452{col 28} .0511687{col 58} .4803563{col 70} .6809341
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3711214{col 28} .0647735{col 58}-.4980751{col 70}-.2441676
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0692497{col 38}   -5.36{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -5.3592
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}     106
                                                  10{txt}: Number of obs = {res}      94
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .1792453{col 28} .0372544{col 58}  .106228{col 70} .2522626
          {txt}10 {c |}{res}{col 17} .6595745{col 28} .0488741{col 58} .5637829{col 70}  .755366
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4803292{col 28} .0614538{col 58}-.6007764{col 70}-.3598819
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0695479{col 38}   -6.91{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -6.9064
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}     112
                                                  13{txt}: Number of obs = {res}     102
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .2053571{col 28} .0381709{col 58} .1305436{col 70} .2801706
          {txt}13 {c |}{res}{col 17} .5686275{col 28} .0490388{col 58} .4725131{col 70} .6647418
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3632703{col 28} .0621435{col 58}-.4850694{col 70}-.2414712
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0663823{col 38}   -5.47{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -5.4724
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}     104
                                                  14{txt}: Number of obs = {res}      96
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .2403846{col 28} .0419019{col 58} .1582584{col 70} .3225108
          {txt}14 {c |}{res}{col 17}   .53125{col 28} .0509313{col 58} .4314265{col 70} .6310735
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2908654{col 28} .0659527{col 58}-.4201304{col 70}-.1616004
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .068699{col 38}   -4.23{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -4.2339
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Table 5 
. 
. 
. use "experiment1.dta", clear
{txt}
{com}. 
. 
. *Pr Tests for Experiment 1 
. 
. prtest dvq31reversed_disease if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      22
                                                   8{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .3181818{col 28} .0993026{col 58} .1235523{col 70} .5128113
           {txt}8 {c |}{res}{col 17} .4347826{col 28} .1033665{col 58} .2321879{col 70} .6373773
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1166008{col 28} .1433375{col 58}-.3975372{col 70} .1643356
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1445846{col 38}   -0.81{col 49}0.420
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -0.8065
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2100         {txt}Pr(|Z| > |z|) = {res}0.4200          {txt}Pr(Z > z) = {res}0.7900
{txt}
{com}. prtest dvq31reversed_disease if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      26
                                                  11{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3461538{col 28} .0933009{col 58} .1632875{col 70} .5290202
          {txt}11 {c |}{res}{col 17} .4705882{col 28} .1210578{col 58} .2333193{col 70} .7078572
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1244344{col 28} .1528399{col 58}-.4239952{col 70} .1751264
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1524986{col 38}   -0.82{col 49}0.415
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -0.8160
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2073         {txt}Pr(|Z| > |z|) = {res}0.4145          {txt}Pr(Z > z) = {res}0.7927
{txt}
{com}. prtest dvq31reversed_disease if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      19
                                                  12{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2631579{col 28} .1010226{col 58} .0651572{col 70} .4611586
          {txt}12 {c |}{res}{col 17} .6956522{col 28} .0959439{col 58} .5076056{col 70} .8836987
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4324943{col 28} .1393226{col 58}-.7055616{col 70}-.1594269
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1550079{col 38}   -2.79{col 49}0.005
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.7901
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0026         {txt}Pr(|Z| > |z|) = {res}0.0053          {txt}Pr(Z > z) = {res}0.9974
{txt}
{com}. prtest dvq31reversed_disease if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      24
                                                   9{txt}: Number of obs = {res}      25
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .4166667{col 28} .1006346{col 58} .2194266{col 70} .6139068
           {txt}9 {c |}{res}{col 17}      .64{col 28}     .096{col 58} .4518435{col 70} .8281565
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2233333{col 28} .1390802{col 58}-.4959256{col 70} .0492589
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1426188{col 38}   -1.57{col 49}0.117
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -1.5659
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0587         {txt}Pr(|Z| > |z|) = {res}0.1174          {txt}Pr(Z > z) = {res}0.9413
{txt}
{com}. prtest dvq31reversed_disease if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      20
                                                  10{txt}: Number of obs = {res}      21
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17}       .5{col 28} .1118034{col 58} .2808694{col 70} .7191306
          {txt}10 {c |}{res}{col 17} .6190476{col 28} .1059712{col 58} .4113479{col 70} .8267473
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1190476{col 28} .1540451{col 58}-.4209704{col 70} .1828752
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1550542{col 38}   -0.77{col 49}0.443
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -0.7678
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2213         {txt}Pr(|Z| > |z|) = {res}0.4426          {txt}Pr(Z > z) = {res}0.7787
{txt}
{com}. prtest dvq31reversed_disease if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      22
                                                  13{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .2272727{col 28} .0893461{col 58} .0521577{col 70} .4023878
          {txt}13 {c |}{res}{col 17} .5263158{col 28} .1145489{col 58} .3018041{col 70} .7508275
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2990431{col 28} .1452727{col 58}-.5837724{col 70}-.0143137
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1508524{col 38}   -1.98{col 49}0.047
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -1.9824
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0237         {txt}Pr(|Z| > |z|) = {res}0.0474          {txt}Pr(Z > z) = {res}0.9763
{txt}
{com}. prtest dvq31reversed_disease if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      17
                                                  14{txt}: Number of obs = {res}      20
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .3529412{col 28}  .115904{col 58} .1257734{col 70} .5801089
          {txt}14 {c |}{res}{col 17}       .7{col 28} .1024695{col 58} .4991635{col 70} .9008365
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3470588{col 28} .1547054{col 58}-.6502757{col 70}-.0438419
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .164399{col 38}   -2.11{col 49}0.035
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.1111
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0174         {txt}Pr(|Z| > |z|) = {res}0.0348          {txt}Pr(Z > z) = {res}0.9826
{txt}
{com}. 
. 
. use "experiment2.dta", clear
{txt}
{com}. 
. *Pr Tests for Experiment 2 
. 
. prtest dvq31_disease_n if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      99
                                                   8{txt}: Number of obs = {res}      91
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .2424242{col 28} .0430709{col 58} .1580069{col 70} .3268416
           {txt}8 {c |}{res}{col 17} .6153846{col 28} .0509995{col 58} .5154274{col 70} .7153418
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3729604{col 28} .0667536{col 58}-.5037951{col 70}-.2421257
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0717012{col 38}   -5.20{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -5.2016
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}     105
                                                  11{txt}: Number of obs = {res}      93
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .2190476{col 28} .0403633{col 58}  .139937{col 70} .2981583
          {txt}11 {c |}{res}{col 17} .5483871{col 28} .0516042{col 58} .4472447{col 70} .6495295
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3293395{col 28} .0655148{col 58}-.4577462{col 70}-.2009327
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0688903{col 38}   -4.78{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -4.7806
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      98
                                                  12{txt}: Number of obs = {res}      87
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .4387755{col 28} .0501275{col 58} .3405273{col 70} .5370237
          {txt}12 {c |}{res}{col 17} .5287356{col 28}  .053517{col 58} .4238442{col 70} .6336271
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.0899601{col 28}  .073327{col 58}-.2336783{col 70} .0537581
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .073599{col 38}   -1.22{col 49}0.222
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -1.2223
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1108         {txt}Pr(|Z| > |z|) = {res}0.2216          {txt}Pr(Z > z) = {res}0.8892
{txt}
{com}. prtest dvq31_disease_n if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      96
                                                   9{txt}: Number of obs = {res}      68
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1458333{col 28} .0360217{col 58} .0752321{col 70} .2164346
           {txt}9 {c |}{res}{col 17} .3823529{col 28} .0589316{col 58} .2668492{col 70} .4978567
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2365196{col 28} .0690687{col 58}-.3718919{col 70}-.1011474
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0680658{col 38}   -3.47{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.4749
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0003         {txt}Pr(|Z| > |z|) = {res}0.0005          {txt}Pr(Z > z) = {res}0.9997
{txt}
{com}. prtest dvq31_disease_n if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      96
                                                  10{txt}: Number of obs = {res}      96
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17}      .25{col 28} .0441942{col 58}  .163381{col 70}  .336619
          {txt}10 {c |}{res}{col 17}       .5{col 28}  .051031{col 58}  .399981{col 70}  .600019
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}     -.25{col 28} .0675077{col 58}-.3823127{col 70}-.1176873
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0698771{col 38}   -3.58{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.5777
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0003          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. prtest dvq31_disease_n if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}     100
                                                  13{txt}: Number of obs = {res}      94
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}      .16{col 28} .0366606{col 58} .0881465{col 70} .2318535
          {txt}13 {c |}{res}{col 17} .4787234{col 28} .0515243{col 58} .3777375{col 70} .5797093
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3187234{col 28} .0632357{col 58}-.4426632{col 70}-.1947836
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}    .0667{col 38}   -4.78{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -4.7785
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}     100
                                                  14{txt}: Number of obs = {res}     103
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}       .3{col 28} .0458258{col 58} .2101832{col 70} .3898168
          {txt}14 {c |}{res}{col 17} .5631068{col 28} .0488725{col 58} .4673185{col 70} .6588951
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2631068{col 28} .0669964{col 58}-.3944174{col 70}-.1317962
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0695703{col 38}   -3.78{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.7819
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Figure 4 
. 
. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       171
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     33.89
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-100.92422{txt}{col 49}Pseudo R2{col 67}= {res}    0.1438

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.860148{col 32}{space 2} 2.119489{col 43}{space 1}    4.89{col 52}{space 3}0.000{col 60}{space 4} 2.884346{col 73}{space 3} 11.90611
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.191424{col 32}{space 2} .4084516{col 43}{space 1}    0.51{col 52}{space 3}0.609{col 60}{space 4} .6084877{col 73}{space 3} 2.332817
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8797792{col 32}{space 2} .0809244{col 43}{space 1}   -1.39{col 52}{space 3}0.164{col 60}{space 4} .7346456{col 73}{space 3} 1.053585
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8581234{col 32}{space 2} .1519682{col 43}{space 1}   -0.86{col 52}{space 3}0.388{col 60}{space 4} .6064672{col 73}{space 3} 1.214205
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.109995{col 32}{space 2} .1783381{col 43}{space 1}    0.65{col 52}{space 3}0.516{col 60}{space 4} .8101436{col 73}{space 3} 1.520827
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.093373{col 32}{space 2} .1778908{col 43}{space 1}    0.55{col 52}{space 3}0.583{col 60}{space 4} .7948383{col 73}{space 3} 1.504036
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8159951{col 32}{space 2}  .095382{col 43}{space 1}   -1.74{col 52}{space 3}0.082{col 60}{space 4} .6489186{col 73}{space 3} 1.026089
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9491771{col 32}{space 2} .0689106{col 43}{space 1}   -0.72{col 52}{space 3}0.472{col 60}{space 4} .8232841{col 73}{space 3} 1.094321
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9622734{col 32}{space 2} .0332081{col 43}{space 1}   -1.11{col 52}{space 3}0.265{col 60}{space 4} .8993391{col 73}{space 3} 1.029612
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 7.671004{col 32}{space 2} 12.22791{col 43}{space 1}    1.28{col 52}{space 3}0.201{col 60}{space 4} .3372876{col 73}{space 3} 174.4633
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store A
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       184
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.00
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0014
{txt}Log likelihood = {res}-112.72202{txt}{col 49}Pseudo R2{col 67}= {res}    0.1069

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.473361{col 32}{space 2} 1.145143{col 43}{space 1}    3.78{col 52}{space 3}0.000{col 60}{space 4} 1.820181{col 73}{space 3}  6.62804
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8103107{col 32}{space 2} .2565933{col 43}{space 1}   -0.66{col 52}{space 3}0.507{col 60}{space 4}  .435622{col 73}{space 3} 1.507278
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  .907711{col 32}{space 2} .0664507{col 43}{space 1}   -1.32{col 52}{space 3}0.186{col 60}{space 4} .7863824{col 73}{space 3} 1.047759
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .960462{col 32}{space 2} .1858234{col 43}{space 1}   -0.21{col 52}{space 3}0.835{col 60}{space 4} .6573485{col 73}{space 3} 1.403346
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.115152{col 32}{space 2} .1485636{col 43}{space 1}    0.82{col 52}{space 3}0.413{col 60}{space 4} .8588847{col 73}{space 3} 1.447883
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  1.00457{col 32}{space 2} .1529491{col 43}{space 1}    0.03{col 52}{space 3}0.976{col 60}{space 4} .7453868{col 73}{space 3} 1.353874
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8442888{col 32}{space 2} .0998613{col 43}{space 1}   -1.43{col 52}{space 3}0.152{col 60}{space 4} .6695948{col 73}{space 3}  1.06456
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9119902{col 32}{space 2} .0669717{col 43}{space 1}   -1.25{col 52}{space 3}0.210{col 60}{space 4}  .789737{col 73}{space 3} 1.053168
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9447388{col 32}{space 2} .0268967{col 43}{space 1}   -2.00{col 52}{space 3}0.046{col 60}{space 4} .8934662{col 73}{space 3} .9989538
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 10.40615{col 32}{space 2} 14.88328{col 43}{space 1}    1.64{col 52}{space 3}0.101{col 60}{space 4} .6307665{col 73}{space 3} 171.6768
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store B
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     55.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-94.559815{txt}{col 49}Pseudo R2{col 67}= {res}    0.2279

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.356719{col 32}{space 2} 2.413134{col 43}{space 1}    4.87{col 52}{space 3}0.000{col 60}{space 4}  3.02065{col 73}{space 3} 13.37721
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.036059{col 32}{space 2} .7551281{col 43}{space 1}    1.92{col 52}{space 3}0.055{col 60}{space 4} .9842354{col 73}{space 3} 4.211935
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.049814{col 32}{space 2} .1124282{col 43}{space 1}    0.45{col 52}{space 3}0.650{col 60}{space 4} .8510486{col 73}{space 3} 1.295002
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.469932{col 32}{space 2} .3303543{col 43}{space 1}    1.71{col 52}{space 3}0.087{col 60}{space 4} .9462306{col 73}{space 3}  2.28348
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.003154{col 32}{space 2} .1611556{col 43}{space 1}    0.02{col 52}{space 3}0.984{col 60}{space 4} .7321882{col 73}{space 3} 1.374397
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.073704{col 32}{space 2} .1827728{col 43}{space 1}    0.42{col 52}{space 3}0.676{col 60}{space 4} .7691087{col 73}{space 3} 1.498931
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9365386{col 32}{space 2} .1199133{col 43}{space 1}   -0.51{col 52}{space 3}0.609{col 60}{space 4} .7286833{col 73}{space 3} 1.203684
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.119676{col 32}{space 2} .0821765{col 43}{space 1}    1.54{col 52}{space 3}0.124{col 60}{space 4} .9696615{col 73}{space 3} 1.292899
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8437385{col 32}{space 2} .0325196{col 43}{space 1}   -4.41{col 52}{space 3}0.000{col 60}{space 4} .7823492{col 73}{space 3}  .909945
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0899254{col 32}{space 2} .1543887{col 43}{space 1}   -1.40{col 52}{space 3}0.161{col 60}{space 4} .0031081{col 73}{space 3}  2.60178
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store C
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.52
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-101.21452{txt}{col 49}Pseudo R2{col 67}= {res}    0.1770

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.077385{col 32}{space 2} 2.109874{col 43}{space 1}    5.20{col 52}{space 3}0.000{col 60}{space 4} 3.077562{col 73}{space 3} 12.00126
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.387266{col 32}{space 2} .5045949{col 43}{space 1}    0.90{col 52}{space 3}0.368{col 60}{space 4}  .680063{col 73}{space 3} 2.829893
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9199704{col 32}{space 2} .0881526{col 43}{space 1}   -0.87{col 52}{space 3}0.384{col 60}{space 4} .7624488{col 73}{space 3} 1.110036
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .982262{col 32}{space 2} .1839983{col 43}{space 1}   -0.10{col 52}{space 3}0.924{col 60}{space 4} .6804237{col 73}{space 3} 1.417997
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.033411{col 32}{space 2} .1652443{col 43}{space 1}    0.21{col 52}{space 3}0.837{col 60}{space 4} .7553777{col 73}{space 3} 1.413779
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6581003{col 32}{space 2} .1059579{col 43}{space 1}   -2.60{col 52}{space 3}0.009{col 60}{space 4} .4800028{col 73}{space 3}  .902278
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.024225{col 32}{space 2} .1152067{col 43}{space 1}    0.21{col 52}{space 3}0.831{col 60}{space 4} .8215812{col 73}{space 3}  1.27685
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.020268{col 32}{space 2} .0853872{col 43}{space 1}    0.24{col 52}{space 3}0.811{col 60}{space 4}  .865917{col 73}{space 3} 1.202132
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9300713{col 32}{space 2} .0330021{col 43}{space 1}   -2.04{col 52}{space 3}0.041{col 60}{space 4} .8675863{col 73}{space 3} .9970565
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 2.137361{col 32}{space 2} 3.509383{col 43}{space 1}    0.46{col 52}{space 3}0.644{col 60}{space 4} .0855598{col 73}{space 3} 53.39319
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store D
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       182
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     37.85
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-107.12829{txt}{col 49}Pseudo R2{col 67}= {res}    0.1501

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.654827{col 32}{space 2} 1.608705{col 43}{space 1}    4.45{col 52}{space 3}0.000{col 60}{space 4} 2.364442{col 73}{space 3} 9.163857
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8753992{col 32}{space 2} .2962724{col 43}{space 1}   -0.39{col 52}{space 3}0.694{col 60}{space 4} .4509447{col 73}{space 3} 1.699374
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.175611{col 32}{space 2} .0917404{col 43}{space 1}    2.07{col 52}{space 3}0.038{col 60}{space 4} 1.008879{col 73}{space 3} 1.369898
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.118032{col 32}{space 2} .2278461{col 43}{space 1}    0.55{col 52}{space 3}0.584{col 60}{space 4} .7498706{col 73}{space 3}  1.66695
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9794496{col 32}{space 2} .1414504{col 43}{space 1}   -0.14{col 52}{space 3}0.886{col 60}{space 4} .7379944{col 73}{space 3} 1.299904
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.104083{col 32}{space 2}  .166837{col 43}{space 1}    0.66{col 52}{space 3}0.512{col 60}{space 4} .8210648{col 73}{space 3} 1.484657
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .949183{col 32}{space 2} .0997271{col 43}{space 1}   -0.50{col 52}{space 3}0.620{col 60}{space 4} .7725336{col 73}{space 3} 1.166226
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.091672{col 32}{space 2} .0843748{col 43}{space 1}    1.13{col 52}{space 3}0.256{col 60}{space 4} .9382168{col 73}{space 3} 1.270226
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8951679{col 32}{space 2} .0330876{col 43}{space 1}   -3.00{col 52}{space 3}0.003{col 60}{space 4} .8326108{col 73}{space 3} .9624253
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}   .28449{col 32}{space 2} .3771015{col 43}{space 1}   -0.95{col 52}{space 3}0.343{col 60}{space 4} .0211724{col 73}{space 3}  3.82265
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store E
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       185
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0010
{txt}Log likelihood = {res} -113.7461{txt}{col 49}Pseudo R2{col 67}= {res}    0.1087

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.031734{col 32}{space 2} 1.003915{col 43}{space 1}    3.35{col 52}{space 3}0.001{col 60}{space 4} 1.584266{col 73}{space 3} 5.801685
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.582027{col 32}{space 2}  .902426{col 43}{space 1}    2.71{col 52}{space 3}0.007{col 60}{space 4} 1.301558{col 73}{space 3}  5.12222
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.123765{col 32}{space 2}  .092674{col 43}{space 1}    1.41{col 52}{space 3}0.157{col 60}{space 4} .9560465{col 73}{space 3} 1.320906
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8763467{col 32}{space 2} .1637817{col 43}{space 1}   -0.71{col 52}{space 3}0.480{col 60}{space 4} .6075664{col 73}{space 3} 1.264032
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.058459{col 32}{space 2} .1533244{col 43}{space 1}    0.39{col 52}{space 3}0.695{col 60}{space 4} .7968419{col 73}{space 3} 1.405969
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8922756{col 32}{space 2} .1358569{col 43}{space 1}   -0.75{col 52}{space 3}0.454{col 60}{space 4}  .662058{col 73}{space 3} 1.202547
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8423718{col 32}{space 2}   .09355{col 43}{space 1}   -1.54{col 52}{space 3}0.122{col 60}{space 4} .6775998{col 73}{space 3} 1.047211
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.042347{col 32}{space 2} .0715788{col 43}{space 1}    0.60{col 52}{space 3}0.546{col 60}{space 4} .9110865{col 73}{space 3} 1.192518
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9647727{col 32}{space 2} .0305697{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .9066797{col 73}{space 3} 1.026588
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4241135{col 32}{space 2} .5182171{col 43}{space 1}   -0.70{col 52}{space 3}0.483{col 60}{space 4} .0386735{col 73}{space 3} 4.651047
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store F
{txt}
{com}. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       186
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     29.89
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0005
{txt}Log likelihood = {res}-113.45137{txt}{col 49}Pseudo R2{col 67}= {res}    0.1164

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.154965{col 32}{space 2} 1.042456{col 43}{space 1}    3.48{col 52}{space 3}0.001{col 60}{space 4} 1.650983{col 73}{space 3} 6.029017
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8806021{col 32}{space 2} .2849631{col 43}{space 1}   -0.39{col 52}{space 3}0.694{col 60}{space 4} .4670149{col 73}{space 3} 1.660461
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9394681{col 32}{space 2} .0812119{col 43}{space 1}   -0.72{col 52}{space 3}0.470{col 60}{space 4} .7930494{col 73}{space 3}  1.11292
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.129275{col 32}{space 2} .2113699{col 43}{space 1}    0.65{col 52}{space 3}0.516{col 60}{space 4} .7824878{col 73}{space 3} 1.629753
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.090532{col 32}{space 2}  .170793{col 43}{space 1}    0.55{col 52}{space 3}0.580{col 60}{space 4} .8022837{col 73}{space 3} 1.482343
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.145941{col 32}{space 2} .1926415{col 43}{space 1}    0.81{col 52}{space 3}0.418{col 60}{space 4} .8242684{col 73}{space 3} 1.593147
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7995383{col 32}{space 2} .0945585{col 43}{space 1}   -1.89{col 52}{space 3}0.059{col 60}{space 4} .6341189{col 73}{space 3}  1.00811
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9536052{col 32}{space 2} .0755007{col 43}{space 1}   -0.60{col 52}{space 3}0.548{col 60}{space 4} .8165365{col 73}{space 3} 1.113683
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .915094{col 32}{space 2} .0285872{col 43}{space 1}   -2.84{col 52}{space 3}0.005{col 60}{space 4}  .860745{col 73}{space 3} .9728747
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  5.17465{col 32}{space 2}  7.77313{col 43}{space 1}    1.09{col 52}{space 3}0.274{col 60}{space 4}  .272423{col 73}{space 3} 98.29201
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store I
{txt}
{com}. 
. coefplot (A, label(No Cues) pstyle(p3)) ///
>          (B, label(Dem Endorse the Risk-Averse) pstyle(p4)) ///
>          (C, label(Dem Endorses the Risk-Acceptant) pstyle(p5)) ///
>          (D, label(Rep Endorses the Risk-Averse) pstyle(p6)) ///
>          (E, label(Rep Endorses the Risk-Acceptant) pstyle(p7)) ///
>          (F, label(Group Endorses the Risk-Averse) pstyle(p8)) ///
>          (I, label(Group Endorses the Risk-Acceptant) pstyle(p9)) ///
>         ||, drop(_cons) xtitle(Odd Ratio) title(Aboria Experiment 2 (Logit)) levels(90) keep (dummyloss militarism internationalism) xline(1) eform xtitle(Odds ratio) msymbol(S) coeflabels(dummyloss= "Domain of Losses"  militarism= "Militarism" internationalism= "Internationalism")
{res}{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       192
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     46.51
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-95.993068{txt}{col 49}Pseudo R2{col 67}= {res}    0.1950

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.217065{col 32}{space 2} 2.807097{col 43}{space 1}    5.08{col 52}{space 3}0.000{col 60}{space 4} 3.367313{col 73}{space 3} 15.46813
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.529711{col 32}{space 2} .5517381{col 43}{space 1}    1.18{col 52}{space 3}0.239{col 60}{space 4} .7543917{col 73}{space 3} 3.101857
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.138255{col 32}{space 2} .0985333{col 43}{space 1}    1.50{col 52}{space 3}0.135{col 60}{space 4} .9606279{col 73}{space 3} 1.348727
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.035171{col 32}{space 2} .1902148{col 43}{space 1}    0.19{col 52}{space 3}0.851{col 60}{space 4} .7221075{col 73}{space 3} 1.483959
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8451289{col 32}{space 2} .1366566{col 43}{space 1}   -1.04{col 52}{space 3}0.298{col 60}{space 4} .6155798{col 73}{space 3} 1.160277
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.056976{col 32}{space 2} .1825568{col 43}{space 1}    0.32{col 52}{space 3}0.748{col 60}{space 4} .7534406{col 73}{space 3} 1.482796
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9395264{col 32}{space 2} .1103656{col 43}{space 1}   -0.53{col 52}{space 3}0.595{col 60}{space 4} .7463094{col 73}{space 3} 1.182767
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9125926{col 32}{space 2} .0683348{col 43}{space 1}   -1.22{col 52}{space 3}0.222{col 60}{space 4} .7880233{col 73}{space 3} 1.056854
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9298999{col 32}{space 2} .0313638{col 43}{space 1}   -2.15{col 52}{space 3}0.031{col 60}{space 4} .8704157{col 73}{space 3} .9934492
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.504579{col 32}{space 2} 2.352808{col 43}{space 1}    0.26{col 52}{space 3}0.794{col 60}{space 4} .0701998{col 73}{space 3} 32.24736
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store A
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       190
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0010
{txt}Log likelihood = {res}-114.35785{txt}{col 49}Pseudo R2{col 67}= {res}    0.1084

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 2.972443{col 32}{space 2} .9962203{col 43}{space 1}    3.25{col 52}{space 3}0.001{col 60}{space 4} 1.541103{col 73}{space 3} 5.733178
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  .968977{col 32}{space 2} .3095882{col 43}{space 1}   -0.10{col 52}{space 3}0.921{col 60}{space 4} .5180295{col 73}{space 3} 1.812476
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.03465{col 32}{space 2} .0770117{col 43}{space 1}    0.46{col 52}{space 3}0.647{col 60}{space 4}  .894203{col 73}{space 3} 1.197155
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.480554{col 32}{space 2} .3009198{col 43}{space 1}    1.93{col 52}{space 3}0.054{col 60}{space 4} .9940748{col 73}{space 3} 2.205105
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.030607{col 32}{space 2} .1331418{col 43}{space 1}    0.23{col 52}{space 3}0.815{col 60}{space 4}  .800071{col 73}{space 3} 1.327572
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  .876997{col 32}{space 2} .1359052{col 43}{space 1}   -0.85{col 52}{space 3}0.397{col 60}{space 4} .6472772{col 73}{space 3} 1.188245
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.134251{col 32}{space 2} .1295897{col 43}{space 1}    1.10{col 52}{space 3}0.270{col 60}{space 4} .9066884{col 73}{space 3} 1.418927
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9221836{col 32}{space 2} .0667444{col 43}{space 1}   -1.12{col 52}{space 3}0.263{col 60}{space 4} .8002219{col 73}{space 3} 1.062734
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9075296{col 32}{space 2} .0266896{col 43}{space 1}   -3.30{col 52}{space 3}0.001{col 60}{space 4} .8566981{col 73}{space 3} .9613772
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4457066{col 32}{space 2} .6283887{col 43}{space 1}   -0.57{col 52}{space 3}0.567{col 60}{space 4} .0281167{col 73}{space 3} 7.065343
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store B
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       179
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     48.00
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.712117{txt}{col 49}Pseudo R2{col 67}= {res}    0.1972

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.470954{col 32}{space 2}   2.0094{col 43}{space 1}    4.63{col 52}{space 3}0.000{col 60}{space 4} 2.663357{col 73}{space 3}  11.2382
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.463448{col 32}{space 2} .5303485{col 43}{space 1}    1.05{col 52}{space 3}0.293{col 60}{space 4} .7192912{col 73}{space 3} 2.977486
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9363689{col 32}{space 2} .0926976{col 43}{space 1}   -0.66{col 52}{space 3}0.507{col 60}{space 4} .7712243{col 73}{space 3} 1.136876
{txt}{space 9}education {c |}{col 20}{res}{space 2}  1.58828{col 32}{space 2} .3442894{col 43}{space 1}    2.13{col 52}{space 3}0.033{col 60}{space 4} 1.038516{col 73}{space 3} 2.429075
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8399028{col 32}{space 2} .1336863{col 43}{space 1}   -1.10{col 52}{space 3}0.273{col 60}{space 4} .6148148{col 73}{space 3} 1.147397
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9312127{col 32}{space 2} .1597112{col 43}{space 1}   -0.42{col 52}{space 3}0.678{col 60}{space 4} .6653656{col 73}{space 3} 1.303279
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9629816{col 32}{space 2} .1267618{col 43}{space 1}   -0.29{col 52}{space 3}0.774{col 60}{space 4} .7439956{col 73}{space 3} 1.246423
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9202885{col 32}{space 2}  .067641{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .7968212{col 73}{space 3} 1.062887
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8706268{col 32}{space 2} .0312841{col 43}{space 1}   -3.86{col 52}{space 3}0.000{col 60}{space 4} .8114203{col 73}{space 3} .9341533
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.673689{col 32}{space 2}  2.76693{col 43}{space 1}    0.31{col 52}{space 3}0.755{col 60}{space 4} .0655352{col 73}{space 3} 42.74396
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store C
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       181
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     38.03
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-105.22168{txt}{col 49}Pseudo R2{col 67}= {res}    0.1531

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.832336{col 32}{space 2} 1.306681{col 43}{space 1}    3.94{col 52}{space 3}0.000{col 60}{space 4} 1.964428{col 73}{space 3} 7.476374
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.509994{col 32}{space 2} .5369581{col 43}{space 1}    1.16{col 52}{space 3}0.246{col 60}{space 4} .7521173{col 73}{space 3} 3.031551
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.114003{col 32}{space 2} .1044855{col 43}{space 1}    1.15{col 52}{space 3}0.250{col 60}{space 4} .9269364{col 73}{space 3} 1.338823
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.333412{col 32}{space 2} .2521754{col 43}{space 1}    1.52{col 52}{space 3}0.128{col 60}{space 4} .9204178{col 73}{space 3} 1.931719
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.270758{col 32}{space 2}  .201306{col 43}{space 1}    1.51{col 52}{space 3}0.130{col 60}{space 4} .9315804{col 73}{space 3} 1.733425
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8398464{col 32}{space 2} .1280347{col 43}{space 1}   -1.14{col 52}{space 3}0.252{col 60}{space 4} .6229226{col 73}{space 3} 1.132311
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9597271{col 32}{space 2} .1035688{col 43}{space 1}   -0.38{col 52}{space 3}0.703{col 60}{space 4} .7767665{col 73}{space 3} 1.185783
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9761312{col 32}{space 2} .0798177{col 43}{space 1}   -0.30{col 52}{space 3}0.768{col 60}{space 4} .8315837{col 73}{space 3} 1.145804
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9017862{col 32}{space 2}  .031017{col 43}{space 1}   -3.01{col 52}{space 3}0.003{col 60}{space 4} .8429979{col 73}{space 3} .9646743
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3098792{col 32}{space 2} .5219658{col 43}{space 1}   -0.70{col 52}{space 3}0.487{col 60}{space 4} .0114134{col 73}{space 3}  8.41339
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store D
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       183
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     52.71
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -99.04388{txt}{col 49}Pseudo R2{col 67}= {res}    0.2102

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.076893{col 32}{space 2} 2.672039{col 43}{space 1}    5.18{col 52}{space 3}0.000{col 60}{space 4} 3.376389{col 73}{space 3} 14.83313
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.285352{col 32}{space 2} .4587463{col 43}{space 1}    0.70{col 52}{space 3}0.482{col 60}{space 4} .6385953{col 73}{space 3} 2.587133
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.056783{col 32}{space 2} .0873257{col 43}{space 1}    0.67{col 52}{space 3}0.504{col 60}{space 4} .8987693{col 73}{space 3} 1.242578
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.080318{col 32}{space 2} .2360767{col 43}{space 1}    0.35{col 52}{space 3}0.724{col 60}{space 4} .7039511{col 73}{space 3} 1.657909
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.405337{col 32}{space 2} .2227165{col 43}{space 1}    2.15{col 52}{space 3}0.032{col 60}{space 4} 1.030108{col 73}{space 3} 1.917247
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7175255{col 32}{space 2} .1167154{col 43}{space 1}   -2.04{col 52}{space 3}0.041{col 60}{space 4} .5216481{col 73}{space 3} .9869543
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.084371{col 32}{space 2} .1186768{col 43}{space 1}    0.74{col 52}{space 3}0.459{col 60}{space 4} .8750235{col 73}{space 3} 1.343804
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.004182{col 32}{space 2} .0819006{col 43}{space 1}    0.05{col 52}{space 3}0.959{col 60}{space 4} .8558323{col 73}{space 3} 1.178246
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8878996{col 32}{space 2} .0330052{col 43}{space 1}   -3.20{col 52}{space 3}0.001{col 60}{space 4} .8255109{col 73}{space 3} .9550033
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4798766{col 32}{space 2} .6611724{col 43}{space 1}   -0.53{col 52}{space 3}0.594{col 60}{space 4} .0322364{col 73}{space 3} 7.143519
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store E
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       192
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     50.80
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-102.11991{txt}{col 49}Pseudo R2{col 67}= {res}    0.1992

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.493093{col 32}{space 2}  2.43046{col 43}{space 1}    5.00{col 52}{space 3}0.000{col 60}{space 4} 3.117701{col 73}{space 3} 13.52287
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.331498{col 32}{space 2} .4817224{col 43}{space 1}    0.79{col 52}{space 3}0.429{col 60}{space 4} .6552162{col 73}{space 3} 2.705806
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.068793{col 32}{space 2} .0919392{col 43}{space 1}    0.77{col 52}{space 3}0.439{col 60}{space 4} .9029672{col 73}{space 3} 1.265072
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9936061{col 32}{space 2} .2069957{col 43}{space 1}   -0.03{col 52}{space 3}0.975{col 60}{space 4} .6605191{col 73}{space 3} 1.494662
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.155317{col 32}{space 2} .1739254{col 43}{space 1}    0.96{col 52}{space 3}0.338{col 60}{space 4} .8601184{col 73}{space 3} 1.551829
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6451252{col 32}{space 2} .1134377{col 43}{space 1}   -2.49{col 52}{space 3}0.013{col 60}{space 4} .4570568{col 73}{space 3} .9105794
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9002065{col 32}{space 2} .1092572{col 43}{space 1}   -0.87{col 52}{space 3}0.386{col 60}{space 4} .7096311{col 73}{space 3} 1.141962
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.03884{col 32}{space 2}  .073772{col 43}{space 1}    0.54{col 52}{space 3}0.592{col 60}{space 4} .9038611{col 73}{space 3} 1.193976
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8929815{col 32}{space 2}  .031831{col 43}{space 1}   -3.18{col 52}{space 3}0.001{col 60}{space 4} .8327233{col 73}{space 3} .9576002
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.068669{col 32}{space 2} 6.770469{col 43}{space 1}    1.22{col 52}{space 3}0.224{col 60}{space 4} .3697451{col 73}{space 3} 69.48409
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store F
{txt}
{com}. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       190
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     60.45
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.230595{txt}{col 49}Pseudo R2{col 67}= {res}    0.2371

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.572558{col 32}{space 2} 1.736374{col 43}{space 1}    4.00{col 52}{space 3}0.000{col 60}{space 4} 2.172329{col 73}{space 3} 9.624822
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.445764{col 32}{space 2} .5257147{col 43}{space 1}    1.01{col 52}{space 3}0.311{col 60}{space 4} .7088914{col 73}{space 3} 2.948593
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.096994{col 32}{space 2} .1047326{col 43}{space 1}    0.97{col 52}{space 3}0.332{col 60}{space 4} .9097839{col 73}{space 3} 1.322728
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.382424{col 32}{space 2} .2841845{col 43}{space 1}    1.58{col 52}{space 3}0.115{col 60}{space 4}  .923975{col 73}{space 3} 2.068343
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9473586{col 32}{space 2} .1615561{col 43}{space 1}   -0.32{col 52}{space 3}0.751{col 60}{space 4} .6781977{col 73}{space 3} 1.323343
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.143057{col 32}{space 2} .2158065{col 43}{space 1}    0.71{col 52}{space 3}0.479{col 60}{space 4} .7895202{col 73}{space 3} 1.654904
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .6801872{col 32}{space 2} .0891309{col 43}{space 1}   -2.94{col 52}{space 3}0.003{col 60}{space 4} .5261239{col 73}{space 3} .8793645
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.035375{col 32}{space 2} .0916035{col 43}{space 1}    0.39{col 52}{space 3}0.694{col 60}{space 4} .8705402{col 73}{space 3} 1.231422
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8604814{col 32}{space 2} .0307814{col 43}{space 1}   -4.20{col 52}{space 3}0.000{col 60}{space 4} .8022173{col 73}{space 3} .9229771
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 3.651803{col 32}{space 2} 6.117578{col 43}{space 1}    0.77{col 52}{space 3}0.439{col 60}{space 4} .1369482{col 73}{space 3} 97.37742
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store I
{txt}
{com}. coefplot (A, label(No Cues) pstyle(p3)) ///
>          (B, label(Dem Endorse the Risk-Averse) pstyle(p4)) ///
>          (C, label(Dem Endorses the Risk-Acceptant) pstyle(p5)) ///
>          (D, label(Rep Endorses the Risk-Averse) pstyle(p6)) ///
>          (E, label(Rep Endorses the Risk-Acceptant) pstyle(p7)) ///
>          (F, label(Group Endorses the Risk-Averse) pstyle(p8)) ///
>          (I, label(Group Endorses the Risk-Acceptant) pstyle(p9)) ///
>         ||, drop(_cons) xtitle(Odd Ratio) title(Venezuela Experiment 2 (Logit)) levels(90) keep (dummyloss militarism internationalism) xline(1) eform xtitle(Odds ratio) msymbol(S) coeflabels(dummyloss= "Domain of Losses"  militarism= "Militarism" internationalism= "Internationalism")
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       208
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     97.99
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-94.565628{txt}{col 49}Pseudo R2{col 67}= {res}    0.3413

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 24.36263{col 32}{space 2} 9.623096{col 43}{space 1}    8.08{col 52}{space 3}0.000{col 60}{space 4} 11.23323{col 73}{space 3} 52.83768
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.219324{col 32}{space 2} .8442174{col 43}{space 1}    2.10{col 52}{space 3}0.036{col 60}{space 4} 1.053001{col 73}{space 3} 4.677487
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9328309{col 32}{space 2} .0909512{col 43}{space 1}   -0.71{col 52}{space 3}0.476{col 60}{space 4} .7705673{col 73}{space 3} 1.129263
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.306003{col 32}{space 2}  .259721{col 43}{space 1}    1.34{col 52}{space 3}0.179{col 60}{space 4}   .88444{col 73}{space 3} 1.928503
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.079139{col 32}{space 2} .1813141{col 43}{space 1}    0.45{col 52}{space 3}0.650{col 60}{space 4} .7763552{col 73}{space 3} 1.500009
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7357008{col 32}{space 2} .1302724{col 43}{space 1}   -1.73{col 52}{space 3}0.083{col 60}{space 4} .5199683{col 73}{space 3}  1.04094
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9411302{col 32}{space 2} .1138134{col 43}{space 1}   -0.50{col 52}{space 3}0.616{col 60}{space 4}  .742526{col 73}{space 3} 1.192855
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9011907{col 32}{space 2} .0720813{col 43}{space 1}   -1.30{col 52}{space 3}0.193{col 60}{space 4} .7704311{col 73}{space 3} 1.054143
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.002723{col 32}{space 2} .0342445{col 43}{space 1}    0.08{col 52}{space 3}0.937{col 60}{space 4} .9378022{col 73}{space 3} 1.072138
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2636319{col 32}{space 2} .4317217{col 43}{space 1}   -0.81{col 52}{space 3}0.416{col 60}{space 4} .0106433{col 73}{space 3} 6.530093
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store A
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     42.14
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-100.10056{txt}{col 49}Pseudo R2{col 67}= {res}    0.1739

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.306644{col 32}{space 2} 2.649385{col 43}{space 1}    5.48{col 52}{space 3}0.000{col 60}{space 4} 3.589821{col 73}{space 3} 14.87178
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .7357299{col 32}{space 2} .2499451{col 43}{space 1}   -0.90{col 52}{space 3}0.366{col 60}{space 4} .3780462{col 73}{space 3} 1.431832
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.026135{col 32}{space 2} .0815781{col 43}{space 1}    0.32{col 52}{space 3}0.746{col 60}{space 4} .8780787{col 73}{space 3} 1.199155
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8209283{col 32}{space 2} .1696397{col 43}{space 1}   -0.95{col 52}{space 3}0.340{col 60}{space 4} .5475323{col 73}{space 3} 1.230838
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.089115{col 32}{space 2} .1537933{col 43}{space 1}    0.60{col 52}{space 3}0.545{col 60}{space 4} .8258018{col 73}{space 3} 1.436386
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.076067{col 32}{space 2} .1798349{col 43}{space 1}    0.44{col 52}{space 3}0.661{col 60}{space 4} .7755052{col 73}{space 3} 1.493118
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8528897{col 32}{space 2} .1083142{col 43}{space 1}   -1.25{col 52}{space 3}0.210{col 60}{space 4} .6649563{col 73}{space 3} 1.093938
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.004391{col 32}{space 2}  .077559{col 43}{space 1}    0.06{col 52}{space 3}0.955{col 60}{space 4}  .863323{col 73}{space 3}  1.16851
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9553296{col 32}{space 2} .0289639{col 43}{space 1}   -1.51{col 52}{space 3}0.132{col 60}{space 4} .9002152{col 73}{space 3} 1.013818
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 2.426151{col 32}{space 2} 3.640105{col 43}{space 1}    0.59{col 52}{space 3}0.555{col 60}{space 4} .1281763{col 73}{space 3} 45.92279
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store B
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       172
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     48.13
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-93.745001{txt}{col 49}Pseudo R2{col 67}= {res}    0.2043

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.928542{col 32}{space 2} 2.973721{col 43}{space 1}    5.52{col 52}{space 3}0.000{col 60}{space 4} 3.801344{col 73}{space 3} 16.53673
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 3.103449{col 32}{space 2} 1.191943{col 43}{space 1}    2.95{col 52}{space 3}0.003{col 60}{space 4} 1.461919{col 73}{space 3} 6.588187
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8894497{col 32}{space 2} .0852786{col 43}{space 1}   -1.22{col 52}{space 3}0.222{col 60}{space 4}  .737072{col 73}{space 3} 1.073329
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.072728{col 32}{space 2} .2400984{col 43}{space 1}    0.31{col 52}{space 3}0.754{col 60}{space 4} .6917885{col 73}{space 3} 1.663435
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9485281{col 32}{space 2} .1503414{col 43}{space 1}   -0.33{col 52}{space 3}0.739{col 60}{space 4} .6952404{col 73}{space 3} 1.294093
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9142241{col 32}{space 2}  .160906{col 43}{space 1}   -0.51{col 52}{space 3}0.610{col 60}{space 4} .6474985{col 73}{space 3} 1.290823
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.065477{col 32}{space 2} .1416258{col 43}{space 1}    0.48{col 52}{space 3}0.633{col 60}{space 4} .8211076{col 73}{space 3} 1.382572
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9306084{col 32}{space 2} .0662197{col 43}{space 1}   -1.01{col 52}{space 3}0.312{col 60}{space 4} .8094642{col 73}{space 3} 1.069883
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9497414{col 32}{space 2} .0321083{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4} .8888501{col 73}{space 3} 1.014804
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1818093{col 32}{space 2} .3027867{col 43}{space 1}   -1.02{col 52}{space 3}0.306{col 60}{space 4} .0069505{col 73}{space 3} 4.755694
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store C
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       182
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.31
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-99.609675{txt}{col 49}Pseudo R2{col 67}= {res}    0.1786

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.263459{col 32}{space 2} 2.612172{col 43}{space 1}    5.51{col 52}{space 3}0.000{col 60}{space 4} 3.589419{col 73}{space 3} 14.69815
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.251375{col 32}{space 2}  .459953{col 43}{space 1}    0.61{col 52}{space 3}0.542{col 60}{space 4} .6088659{col 73}{space 3} 2.571896
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.060719{col 32}{space 2} .1075195{col 43}{space 1}    0.58{col 52}{space 3}0.561{col 60}{space 4} .8695978{col 73}{space 3} 1.293845
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9185363{col 32}{space 2}  .168906{col 43}{space 1}   -0.46{col 52}{space 3}0.644{col 60}{space 4} .6405783{col 73}{space 3} 1.317105
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.065234{col 32}{space 2} .1735054{col 43}{space 1}    0.39{col 52}{space 3}0.698{col 60}{space 4} .7741075{col 73}{space 3} 1.465847
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8801174{col 32}{space 2} .1386661{col 43}{space 1}   -0.81{col 52}{space 3}0.418{col 60}{space 4} .6462943{col 73}{space 3} 1.198535
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8771472{col 32}{space 2} .0975042{col 43}{space 1}   -1.18{col 52}{space 3}0.238{col 60}{space 4} .7054275{col 73}{space 3} 1.090668
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9505192{col 32}{space 2} .0798381{col 43}{space 1}   -0.60{col 52}{space 3}0.546{col 60}{space 4} .8062411{col 73}{space 3} 1.120616
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .968223{col 32}{space 2} .0343857{col 43}{space 1}   -0.91{col 52}{space 3}0.363{col 60}{space 4} .9031203{col 73}{space 3} 1.038019
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.012827{col 32}{space 2} 1.708264{col 43}{space 1}    0.01{col 52}{space 3}0.994{col 60}{space 4} .0371427{col 73}{space 3} 27.61833
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store D
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       173
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.53
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-99.624631{txt}{col 49}Pseudo R2{col 67}= {res}    0.1690

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.743277{col 32}{space 2} 2.447153{col 43}{space 1}    5.26{col 52}{space 3}0.000{col 60}{space 4} 3.311066{col 73}{space 3} 13.73328
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.217435{col 32}{space 2} .4274589{col 43}{space 1}    0.56{col 52}{space 3}0.575{col 60}{space 4} .6117542{col 73}{space 3} 2.422785
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.116565{col 32}{space 2} .0922123{col 43}{space 1}    1.34{col 52}{space 3}0.182{col 60}{space 4} .9497014{col 73}{space 3} 1.312748
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.037275{col 32}{space 2} .2239673{col 43}{space 1}    0.17{col 52}{space 3}0.865{col 60}{space 4} .6793654{col 73}{space 3} 1.583742
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9760985{col 32}{space 2}  .150424{col 43}{space 1}   -0.16{col 52}{space 3}0.875{col 60}{space 4} .7216344{col 73}{space 3} 1.320292
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9652954{col 32}{space 2} .1523699{col 43}{space 1}   -0.22{col 52}{space 3}0.823{col 60}{space 4} .7084347{col 73}{space 3} 1.315287
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8838868{col 32}{space 2} .0986112{col 43}{space 1}   -1.11{col 52}{space 3}0.269{col 60}{space 4} .7102839{col 73}{space 3}  1.09992
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.082705{col 32}{space 2} .0894833{col 43}{space 1}    0.96{col 52}{space 3}0.336{col 60}{space 4} .9207896{col 73}{space 3} 1.273093
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9342895{col 32}{space 2}  .035165{col 43}{space 1}   -1.81{col 52}{space 3}0.071{col 60}{space 4} .8678481{col 73}{space 3} 1.005817
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4564691{col 32}{space 2} .6265992{col 43}{space 1}   -0.57{col 52}{space 3}0.568{col 60}{space 4} .0309713{col 73}{space 3} 6.727649
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store E
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       183
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     54.76
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -92.82474{txt}{col 49}Pseudo R2{col 67}= {res}    0.2278

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  11.7419{col 32}{space 2} 4.749609{col 43}{space 1}    6.09{col 52}{space 3}0.000{col 60}{space 4} 5.314059{col 73}{space 3} 25.94479
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.136561{col 32}{space 2} .8399879{col 43}{space 1}    1.93{col 52}{space 3}0.053{col 60}{space 4} .9887027{col 73}{space 3} 4.617052
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9261747{col 32}{space 2} .0880985{col 43}{space 1}   -0.81{col 52}{space 3}0.420{col 60}{space 4} .7686452{col 73}{space 3} 1.115989
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9560045{col 32}{space 2} .1971779{col 43}{space 1}   -0.22{col 52}{space 3}0.827{col 60}{space 4} .6381135{col 73}{space 3}  1.43226
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.041251{col 32}{space 2} .1835595{col 43}{space 1}    0.23{col 52}{space 3}0.819{col 60}{space 4} .7370535{col 73}{space 3} 1.470996
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7658199{col 32}{space 2} .1303845{col 43}{space 1}   -1.57{col 52}{space 3}0.117{col 60}{space 4} .5485364{col 73}{space 3} 1.069173
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .804841{col 32}{space 2} .0971618{col 43}{space 1}   -1.80{col 52}{space 3}0.072{col 60}{space 4} .6352601{col 73}{space 3} 1.019691
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9562998{col 32}{space 2} .0762132{col 43}{space 1}   -0.56{col 52}{space 3}0.575{col 60}{space 4} .8180064{col 73}{space 3} 1.117973
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.040883{col 32}{space 2} .0371932{col 43}{space 1}    1.12{col 52}{space 3}0.262{col 60}{space 4} .9704799{col 73}{space 3} 1.116394
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9034751{col 32}{space 2} 1.259651{col 43}{space 1}   -0.07{col 52}{space 3}0.942{col 60}{space 4} .0587687{col 73}{space 3} 13.88949
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store F
{txt}
{com}. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       177
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     62.73
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-88.228591{txt}{col 49}Pseudo R2{col 67}= {res}    0.2623

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 11.57457{col 32}{space 2} 4.769366{col 43}{space 1}    5.94{col 52}{space 3}0.000{col 60}{space 4} 5.161345{col 73}{space 3} 25.95657
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.558655{col 32}{space 2} 1.016124{col 43}{space 1}    2.37{col 52}{space 3}0.018{col 60}{space 4} 1.174823{col 73}{space 3} 5.572516
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.027269{col 32}{space 2} .1031616{col 43}{space 1}    0.27{col 52}{space 3}0.789{col 60}{space 4} .8437306{col 73}{space 3} 1.250733
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.076394{col 32}{space 2}  .236208{col 43}{space 1}    0.34{col 52}{space 3}0.737{col 60}{space 4} .7001327{col 73}{space 3} 1.654863
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.136153{col 32}{space 2} .2065312{col 43}{space 1}    0.70{col 52}{space 3}0.483{col 60}{space 4} .7956181{col 73}{space 3} 1.622442
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.091354{col 32}{space 2} .2137736{col 43}{space 1}    0.45{col 52}{space 3}0.655{col 60}{space 4} .7434174{col 73}{space 3} 1.602132
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8327701{col 32}{space 2} .1165711{col 43}{space 1}   -1.31{col 52}{space 3}0.191{col 60}{space 4} .6329568{col 73}{space 3} 1.095661
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9750369{col 32}{space 2} .0921875{col 43}{space 1}   -0.27{col 52}{space 3}0.789{col 60}{space 4} .8101062{col 73}{space 3} 1.173546
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8766506{col 32}{space 2} .0338429{col 43}{space 1}   -3.41{col 52}{space 3}0.001{col 60}{space 4} .8127671{col 73}{space 3} .9455553
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2652758{col 32}{space 2} .4704159{col 43}{space 1}   -0.75{col 52}{space 3}0.454{col 60}{space 4} .0082083{col 73}{space 3} 8.573158
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store I
{txt}
{com}. 
. coefplot (A, label(No Cues) pstyle(p3)) ///
>          (B, label(Dem Endorse the Risk-Averse) pstyle(p4)) ///
>          (C, label(Dem Endorses the Risk-Acceptant) pstyle(p5)) ///
>          (D, label(Rep Endorses the Risk-Averse) pstyle(p6)) ///
>          (E, label(Rep Endorses the Risk-Acceptant) pstyle(p7)) ///
>          (F, label(Group Endorses the Risk-Averse) pstyle(p8)) ///
>          (I, label(Group Endorses the Risk-Acceptant) pstyle(p9)) ///
>         ||, drop(_cons) xtitle(Odd Ratio) title(Cameroon Experiment 2 (Logit)) levels(90) keep (dummyloss militarism internationalism) xline(1) eform xtitle(Odds ratio) msymbol(S) coeflabels(dummyloss= "Domain of Losses"  militarism= "Militarism" internationalism= "Internationalism")
{res}{txt}
{com}. 
.                 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       194
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     67.15
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.537948{txt}{col 49}Pseudo R2{col 67}= {res}    0.2561

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  13.2517{col 32}{space 2}  5.05979{col 43}{space 1}    6.77{col 52}{space 3}0.000{col 60}{space 4} 6.269948{col 73}{space 3}  28.0078
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.158026{col 32}{space 2} .4209833{col 43}{space 1}    0.40{col 52}{space 3}0.687{col 60}{space 4} .5679064{col 73}{space 3} 2.361349
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8789502{col 32}{space 2} .0801353{col 43}{space 1}   -1.42{col 52}{space 3}0.157{col 60}{space 4}  .735121{col 73}{space 3}  1.05092
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9843012{col 32}{space 2} .1897952{col 43}{space 1}   -0.08{col 52}{space 3}0.935{col 60}{space 4}  .674524{col 73}{space 3} 1.436344
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8369837{col 32}{space 2} .1362673{col 43}{space 1}   -1.09{col 52}{space 3}0.274{col 60}{space 4}  .608324{col 73}{space 3} 1.151593
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9247195{col 32}{space 2} .1608677{col 43}{space 1}   -0.45{col 52}{space 3}0.653{col 60}{space 4} .6575545{col 73}{space 3} 1.300434
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  1.03504{col 32}{space 2} .1371162{col 43}{space 1}    0.26{col 52}{space 3}0.795{col 60}{space 4}  .798353{col 73}{space 3} 1.341898
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8161276{col 32}{space 2} .0637278{col 43}{space 1}   -2.60{col 52}{space 3}0.009{col 60}{space 4} .7003118{col 73}{space 3} .9510967
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.026517{col 32}{space 2} .0338476{col 43}{space 1}    0.79{col 52}{space 3}0.427{col 60}{space 4} .9622748{col 73}{space 3} 1.095047
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.587221{col 32}{space 2} 2.538975{col 43}{space 1}    0.29{col 52}{space 3}0.773{col 60}{space 4} .0690279{col 73}{space 3} 36.49639
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store A
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       199
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     23.87
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0045
{txt}Log likelihood = {res}-119.39346{txt}{col 49}Pseudo R2{col 67}= {res}    0.0909

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.395955{col 32}{space 2} 1.093667{col 43}{space 1}    3.80{col 52}{space 3}0.000{col 60}{space 4} 1.806477{col 73}{space 3} 6.383976
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.13153{col 32}{space 2}  .351991{col 43}{space 1}    0.40{col 52}{space 3}0.691{col 60}{space 4} .6150047{col 73}{space 3} 2.081871
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.077423{col 32}{space 2} .0779725{col 43}{space 1}    1.03{col 52}{space 3}0.303{col 60}{space 4} .9349434{col 73}{space 3} 1.241616
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.288638{col 32}{space 2} .2480536{col 43}{space 1}    1.32{col 52}{space 3}0.188{col 60}{space 4}  .883651{col 73}{space 3} 1.879235
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8639891{col 32}{space 2} .1095001{col 43}{space 1}   -1.15{col 52}{space 3}0.249{col 60}{space 4} .6739517{col 73}{space 3} 1.107612
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.217183{col 32}{space 2} .1840154{col 43}{space 1}    1.30{col 52}{space 3}0.194{col 60}{space 4}  .905045{col 73}{space 3} 1.636974
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8123984{col 32}{space 2} .0948927{col 43}{space 1}   -1.78{col 52}{space 3}0.075{col 60}{space 4} .6461657{col 73}{space 3} 1.021396
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9552898{col 32}{space 2} .0680455{col 43}{space 1}   -0.64{col 52}{space 3}0.521{col 60}{space 4} .8308141{col 73}{space 3} 1.098415
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9603271{col 32}{space 2} .0273373{col 43}{space 1}   -1.42{col 52}{space 3}0.155{col 60}{space 4} .9082143{col 73}{space 3}  1.01543
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4578877{col 32}{space 2} .6276015{col 43}{space 1}   -0.57{col 52}{space 3}0.569{col 60}{space 4} .0311935{col 73}{space 3} 6.721313
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store B
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       196
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     35.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-113.00196{txt}{col 49}Pseudo R2{col 67}= {res}    0.1366

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.044344{col 32}{space 2} 2.088006{col 43}{space 1}    5.21{col 52}{space 3}0.000{col 60}{space 4} 3.071167{col 73}{space 3} 11.89583
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.671098{col 32}{space 2} .5701107{col 43}{space 1}    1.51{col 52}{space 3}0.132{col 60}{space 4}  .856262{col 73}{space 3} 3.261349
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.184375{col 32}{space 2} .1075121{col 43}{space 1}    1.86{col 52}{space 3}0.062{col 60}{space 4}  .991336{col 73}{space 3} 1.415003
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.039752{col 32}{space 2} .2127751{col 43}{space 1}    0.19{col 52}{space 3}0.849{col 60}{space 4} .6962089{col 73}{space 3} 1.552816
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9538544{col 32}{space 2} .1408783{col 43}{space 1}   -0.32{col 52}{space 3}0.749{col 60}{space 4} .7141098{col 73}{space 3} 1.274087
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.245761{col 32}{space 2} .2035119{col 43}{space 1}    1.35{col 52}{space 3}0.179{col 60}{space 4} .9044394{col 73}{space 3} 1.715892
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}    .9283{col 32}{space 2} .1115624{col 43}{space 1}   -0.62{col 52}{space 3}0.536{col 60}{space 4} .7334856{col 73}{space 3} 1.174857
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.03918{col 32}{space 2} .0676605{col 43}{space 1}    0.59{col 52}{space 3}0.555{col 60}{space 4} .9146805{col 73}{space 3} 1.180625
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.002494{col 32}{space 2} .0316734{col 43}{space 1}    0.08{col 52}{space 3}0.937{col 60}{space 4} .9422977{col 73}{space 3} 1.066535
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0240081{col 32}{space 2}  .038052{col 43}{space 1}   -2.35{col 52}{space 3}0.019{col 60}{space 4} .0010746{col 73}{space 3} .5363935
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store C
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       191
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     38.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -106.6578{txt}{col 49}Pseudo R2{col 67}= {res}    0.1537

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  6.53136{col 32}{space 2} 2.270108{col 43}{space 1}    5.40{col 52}{space 3}0.000{col 60}{space 4} 3.304845{col 73}{space 3} 12.90792
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.095019{col 32}{space 2} .3833284{col 43}{space 1}    0.26{col 52}{space 3}0.795{col 60}{space 4} .5513731{col 73}{space 3} 2.174693
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9686944{col 32}{space 2} .0872448{col 43}{space 1}   -0.35{col 52}{space 3}0.724{col 60}{space 4} .8119399{col 73}{space 3} 1.155712
{txt}{space 9}education {c |}{col 20}{res}{space 2} .7519758{col 32}{space 2} .1429909{col 43}{space 1}   -1.50{col 52}{space 3}0.134{col 60}{space 4}  .518018{col 73}{space 3} 1.091598
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.049466{col 32}{space 2} .1613832{col 43}{space 1}    0.31{col 52}{space 3}0.754{col 60}{space 4} .7763783{col 73}{space 3}  1.41861
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.136194{col 32}{space 2} .1816329{col 43}{space 1}    0.80{col 52}{space 3}0.424{col 60}{space 4} .8305747{col 73}{space 3} 1.554269
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8556894{col 32}{space 2} .1001598{col 43}{space 1}   -1.33{col 52}{space 3}0.183{col 60}{space 4} .6802705{col 73}{space 3} 1.076343
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9384543{col 32}{space 2} .0789707{col 43}{space 1}   -0.75{col 52}{space 3}0.450{col 60}{space 4} .7957648{col 73}{space 3}  1.10673
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.077849{col 32}{space 2} .0351766{col 43}{space 1}    2.30{col 52}{space 3}0.022{col 60}{space 4} 1.011063{col 73}{space 3} 1.149047
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9268269{col 32}{space 2} 1.519792{col 43}{space 1}   -0.05{col 52}{space 3}0.963{col 60}{space 4} .0372577{col 73}{space 3} 23.05587
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store D
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       194
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     52.90
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-104.27386{txt}{col 49}Pseudo R2{col 67}= {res}    0.2023

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 10.23812{col 32}{space 2} 3.663489{col 43}{space 1}    6.50{col 52}{space 3}0.000{col 60}{space 4} 5.077336{col 73}{space 3} 20.64449
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .6087558{col 32}{space 2} .2138907{col 43}{space 1}   -1.41{col 52}{space 3}0.158{col 60}{space 4} .3057506{col 73}{space 3} 1.212045
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9985486{col 32}{space 2} .0812074{col 43}{space 1}   -0.02{col 52}{space 3}0.986{col 60}{space 4}  .851422{col 73}{space 3} 1.171099
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9637399{col 32}{space 2} .2108336{col 43}{space 1}   -0.17{col 52}{space 3}0.866{col 60}{space 4}  .627691{col 73}{space 3} 1.479701
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9663532{col 32}{space 2} .1463332{col 43}{space 1}   -0.23{col 52}{space 3}0.821{col 60}{space 4}  .718191{col 73}{space 3} 1.300265
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.064127{col 32}{space 2} .1665463{col 43}{space 1}    0.40{col 52}{space 3}0.691{col 60}{space 4} .7830182{col 73}{space 3} 1.446155
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.061492{col 32}{space 2} .1180912{col 43}{space 1}    0.54{col 52}{space 3}0.592{col 60}{space 4}  .853533{col 73}{space 3} 1.320119
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.000204{col 32}{space 2} .0819512{col 43}{space 1}    0.00{col 52}{space 3}0.998{col 60}{space 4} .8518163{col 73}{space 3} 1.174442
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9919541{col 32}{space 2} .0325658{col 43}{space 1}   -0.25{col 52}{space 3}0.806{col 60}{space 4} .9301364{col 73}{space 3}  1.05788
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2830306{col 32}{space 2} .3989371{col 43}{space 1}   -0.90{col 52}{space 3}0.371{col 60}{space 4} .0178669{col 73}{space 3} 4.483513
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store E
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       207
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     34.68
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-119.28056{txt}{col 49}Pseudo R2{col 67}= {res}    0.1269

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  5.15864{col 32}{space 2}  1.68039{col 43}{space 1}    5.04{col 52}{space 3}0.000{col 60}{space 4} 2.724347{col 73}{space 3} 9.768052
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.064186{col 32}{space 2} .3492482{col 43}{space 1}    0.19{col 52}{space 3}0.850{col 60}{space 4} .5593291{col 73}{space 3} 2.024733
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.075366{col 32}{space 2} .0950877{col 43}{space 1}    0.82{col 52}{space 3}0.411{col 60}{space 4} .9042526{col 73}{space 3} 1.278858
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.082159{col 32}{space 2} .1999986{col 43}{space 1}    0.43{col 52}{space 3}0.669{col 60}{space 4} .7533152{col 73}{space 3} 1.554553
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  1.03224{col 32}{space 2}  .140454{col 43}{space 1}    0.23{col 52}{space 3}0.816{col 60}{space 4} .7906057{col 73}{space 3} 1.347725
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9917287{col 32}{space 2} .1547274{col 43}{space 1}   -0.05{col 52}{space 3}0.958{col 60}{space 4} .7304496{col 73}{space 3} 1.346466
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.085908{col 32}{space 2} .1236123{col 43}{space 1}    0.72{col 52}{space 3}0.469{col 60}{space 4} .8687567{col 73}{space 3} 1.357338
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .945826{col 32}{space 2} .0634783{col 43}{space 1}   -0.83{col 52}{space 3}0.407{col 60}{space 4} .8292464{col 73}{space 3} 1.078795
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9660607{col 32}{space 2} .0317347{col 43}{space 1}   -1.05{col 52}{space 3}0.293{col 60}{space 4}  .905822{col 73}{space 3} 1.030305
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1142278{col 32}{space 2} .1452897{col 43}{space 1}   -1.71{col 52}{space 3}0.088{col 60}{space 4} .0094429{col 73}{space 3} 1.381784
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store F
{txt}
{com}. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       195
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     30.90
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0003
{txt}Log likelihood = {res}-114.93157{txt}{col 49}Pseudo R2{col 67}= {res}    0.1185

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.918426{col 32}{space 2}  1.29668{col 43}{space 1}    4.13{col 52}{space 3}0.000{col 60}{space 4} 2.048487{col 73}{space 3} 7.495316
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9141263{col 32}{space 2}  .297836{col 43}{space 1}   -0.28{col 52}{space 3}0.783{col 60}{space 4} .4826941{col 73}{space 3} 1.731173
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.137591{col 32}{space 2}  .097459{col 43}{space 1}    1.50{col 52}{space 3}0.132{col 60}{space 4} .9617503{col 73}{space 3}  1.34558
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8449156{col 32}{space 2} .1511125{col 43}{space 1}   -0.94{col 52}{space 3}0.346{col 60}{space 4} .5950817{col 73}{space 3} 1.199638
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .7392625{col 32}{space 2} .1255416{col 43}{space 1}   -1.78{col 52}{space 3}0.075{col 60}{space 4} .5299655{col 73}{space 3} 1.031216
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9859596{col 32}{space 2} .1639669{col 43}{space 1}   -0.09{col 52}{space 3}0.932{col 60}{space 4} .7117095{col 73}{space 3} 1.365889
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7549215{col 32}{space 2} .0905155{col 43}{space 1}   -2.34{col 52}{space 3}0.019{col 60}{space 4} .5968186{col 73}{space 3} .9549075
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .933016{col 32}{space 2} .0748411{col 43}{space 1}   -0.86{col 52}{space 3}0.387{col 60}{space 4} .7972797{col 73}{space 3} 1.091861
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.050011{col 32}{space 2} .0307482{col 43}{space 1}    1.67{col 52}{space 3}0.096{col 60}{space 4} .9914423{col 73}{space 3} 1.112039
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.395267{col 32}{space 2} 7.822565{col 43}{space 1}    1.16{col 52}{space 3}0.245{col 60}{space 4} .3146741{col 73}{space 3} 92.50493
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store I
{txt}
{com}. 
. coefplot (A, label(No Cues) pstyle(p3)) ///
>          (B, label(Dem Endorse the Risk-Averse) pstyle(p4)) ///
>          (C, label(Dem Endorses the Risk-Acceptant) pstyle(p5)) ///
>          (D, label(Rep Endorses the Risk-Averse) pstyle(p6)) ///
>          (E, label(Rep Endorses the Risk-Acceptant) pstyle(p7)) ///
>          (F, label(Group Endorses the Risk-Averse) pstyle(p8)) ///
>          (I, label(Group Endorses the Risk-Acceptant) pstyle(p9)) ///
>         ||, drop(_cons) xtitle(Odd Ratio) title(US-China Trade War Experiment 2 (Logit)) levels(90) keep (dummyloss militarism internationalism) xline(1) eform xtitle(Odds ratio) msymbol(S) coeflabels(dummyloss= "Domain of Losses"  militarism= "Militarism" internationalism= "Internationalism")
{res}{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}.  
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       186
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     31.22
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0003
{txt}Log likelihood = {res}-111.49033{txt}{col 49}Pseudo R2{col 67}= {res}    0.1228

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.031238{col 32}{space 2} 1.665902{col 43}{space 1}    4.88{col 52}{space 3}0.000{col 60}{space 4} 2.629251{col 73}{space 3} 9.627591
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.134494{col 32}{space 2}   .37725{col 43}{space 1}    0.38{col 52}{space 3}0.704{col 60}{space 4} .5912273{col 73}{space 3} 2.176957
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9667574{col 32}{space 2} .0826084{col 43}{space 1}   -0.40{col 52}{space 3}0.692{col 60}{space 4} .8176797{col 73}{space 3} 1.143015
{txt}{space 9}education {c |}{col 20}{res}{space 2}  1.23387{col 32}{space 2} .2201275{col 43}{space 1}    1.18{col 52}{space 3}0.239{col 60}{space 4} .8697841{col 73}{space 3}  1.75036
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8169925{col 32}{space 2} .1300058{col 43}{space 1}   -1.27{col 52}{space 3}0.204{col 60}{space 4}  .598093{col 73}{space 3} 1.116008
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9312167{col 32}{space 2} .1448422{col 43}{space 1}   -0.46{col 52}{space 3}0.647{col 60}{space 4} .6865216{col 73}{space 3} 1.263128
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9860055{col 32}{space 2} .1109539{col 43}{space 1}   -0.13{col 52}{space 3}0.900{col 60}{space 4} .7908512{col 73}{space 3} 1.229317
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .973729{col 32}{space 2} .0640969{col 43}{space 1}   -0.40{col 52}{space 3}0.686{col 60}{space 4} .8558679{col 73}{space 3} 1.107821
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9684903{col 32}{space 2} .0308687{col 43}{space 1}   -1.00{col 52}{space 3}0.315{col 60}{space 4} .9098397{col 73}{space 3} 1.030922
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .5698303{col 32}{space 2}  .854808{col 43}{space 1}   -0.37{col 52}{space 3}0.708{col 60}{space 4} .0301197{col 73}{space 3} 10.78056
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store A
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       193
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     36.20
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-109.89886{txt}{col 49}Pseudo R2{col 67}= {res}    0.1414

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.638814{col 32}{space 2} 1.943218{col 43}{space 1}    5.02{col 52}{space 3}0.000{col 60}{space 4} 2.869798{col 73}{space 3} 11.07961
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.067871{col 32}{space 2}  .351047{col 43}{space 1}    0.20{col 52}{space 3}0.842{col 60}{space 4} .5606591{col 73}{space 3} 2.033944
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.215459{col 32}{space 2} .0968372{col 43}{space 1}    2.45{col 52}{space 3}0.014{col 60}{space 4} 1.039738{col 73}{space 3} 1.420877
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.310442{col 32}{space 2} .2614339{col 43}{space 1}    1.36{col 52}{space 3}0.175{col 60}{space 4} .8863448{col 73}{space 3} 1.937461
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.055153{col 32}{space 2} .1373743{col 43}{space 1}    0.41{col 52}{space 3}0.680{col 60}{space 4} .8175122{col 73}{space 3} 1.361872
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.111948{col 32}{space 2} .1808957{col 43}{space 1}    0.65{col 52}{space 3}0.514{col 60}{space 4} .8083658{col 73}{space 3} 1.529541
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8711981{col 32}{space 2} .1062444{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .6859795{col 73}{space 3} 1.106427
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9606744{col 32}{space 2} .0710771{col 43}{space 1}   -0.54{col 52}{space 3}0.588{col 60}{space 4} .8309956{col 73}{space 3}  1.11059
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9779751{col 32}{space 2} .0293485{col 43}{space 1}   -0.74{col 52}{space 3}0.458{col 60}{space 4}  .922112{col 73}{space 3} 1.037222
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .077801{col 32}{space 2} .1169031{col 43}{space 1}   -1.70{col 52}{space 3}0.089{col 60}{space 4} .0040924{col 73}{space 3} 1.479083
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store B
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       177
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     17.19
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0458
{txt}Log likelihood = {res}-113.95389{txt}{col 49}Pseudo R2{col 67}= {res}    0.0701

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 1.348603{col 32}{space 2}  .436401{col 43}{space 1}    0.92{col 52}{space 3}0.355{col 60}{space 4} .7152204{col 73}{space 3} 2.542896
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.651284{col 32}{space 2}     .544{col 43}{space 1}    1.52{col 52}{space 3}0.128{col 60}{space 4} .8657676{col 73}{space 3} 3.149503
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9009814{col 32}{space 2} .0773153{col 43}{space 1}   -1.22{col 52}{space 3}0.224{col 60}{space 4} .7615041{col 73}{space 3} 1.066005
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.236168{col 32}{space 2} .2436015{col 43}{space 1}    1.08{col 52}{space 3}0.282{col 60}{space 4}  .840114{col 73}{space 3} 1.818934
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .7913953{col 32}{space 2} .1070685{col 43}{space 1}   -1.73{col 52}{space 3}0.084{col 60}{space 4} .6070629{col 73}{space 3}   1.0317
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8740631{col 32}{space 2} .1394773{col 43}{space 1}   -0.84{col 52}{space 3}0.399{col 60}{space 4}  .639313{col 73}{space 3} 1.195011
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.028756{col 32}{space 2} .1186434{col 43}{space 1}    0.25{col 52}{space 3}0.806{col 60}{space 4} .8206268{col 73}{space 3} 1.289671
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.063354{col 32}{space 2} .0673622{col 43}{space 1}    0.97{col 52}{space 3}0.332{col 60}{space 4} .9391944{col 73}{space 3} 1.203928
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .915246{col 32}{space 2} .0306186{col 43}{space 1}   -2.65{col 52}{space 3}0.008{col 60}{space 4} .8571598{col 73}{space 3} .9772685
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.057025{col 32}{space 2}    1.482{col 43}{space 1}    0.04{col 52}{space 3}0.968{col 60}{space 4} .0677111{col 73}{space 3} 16.50101
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store C
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       158
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     20.71
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0140
{txt}Log likelihood = {res}-75.640387{txt}{col 49}Pseudo R2{col 67}= {res}    0.1204

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.665333{col 32}{space 2} 1.532136{col 43}{space 1}    3.11{col 52}{space 3}0.002{col 60}{space 4} 1.615492{col 73}{space 3} 8.316144
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.42365{col 32}{space 2}  .599642{col 43}{space 1}    0.84{col 52}{space 3}0.402{col 60}{space 4}  .623558{col 73}{space 3} 3.250347
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9543531{col 32}{space 2}  .115812{col 43}{space 1}   -0.39{col 52}{space 3}0.700{col 60}{space 4} .7523409{col 73}{space 3} 1.210608
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9095023{col 32}{space 2} .2068356{col 43}{space 1}   -0.42{col 52}{space 3}0.677{col 60}{space 4} .5824072{col 73}{space 3} 1.420302
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9369513{col 32}{space 2} .1885995{col 43}{space 1}   -0.32{col 52}{space 3}0.746{col 60}{space 4} .6315069{col 73}{space 3} 1.390132
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9652144{col 32}{space 2} .1711512{col 43}{space 1}   -0.20{col 52}{space 3}0.842{col 60}{space 4} .6818507{col 73}{space 3} 1.366339
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7883418{col 32}{space 2} .1082962{col 43}{space 1}   -1.73{col 52}{space 3}0.083{col 60}{space 4} .6022588{col 73}{space 3}  1.03192
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9402534{col 32}{space 2}  .090427{col 43}{space 1}   -0.64{col 52}{space 3}0.522{col 60}{space 4} .7787217{col 73}{space 3} 1.135292
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9186967{col 32}{space 2} .0418104{col 43}{space 1}   -1.86{col 52}{space 3}0.062{col 60}{space 4} .8402983{col 73}{space 3}  1.00441
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 4.480336{col 32}{space 2} 9.042895{col 43}{space 1}    0.74{col 52}{space 3}0.457{col 60}{space 4} .0857603{col 73}{space 3} 234.0641
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store D
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       188
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     17.92
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0361
{txt}Log likelihood = {res}-115.66489{txt}{col 49}Pseudo R2{col 67}= {res}    0.0719

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.189532{col 32}{space 2} 1.049974{col 43}{space 1}    3.52{col 52}{space 3}0.000{col 60}{space 4}  1.67308{col 73}{space 3} 6.080472
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.191106{col 32}{space 2} .3835132{col 43}{space 1}    0.54{col 52}{space 3}0.587{col 60}{space 4}  .633694{col 73}{space 3} 2.238829
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9374908{col 32}{space 2} .0722934{col 43}{space 1}   -0.84{col 52}{space 3}0.403{col 60}{space 4} .8059864{col 73}{space 3} 1.090451
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .987448{col 32}{space 2} .1933041{col 43}{space 1}   -0.06{col 52}{space 3}0.949{col 60}{space 4} .6727937{col 73}{space 3} 1.449261
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.036374{col 32}{space 2} .1346289{col 43}{space 1}    0.28{col 52}{space 3}0.783{col 60}{space 4}  .803419{col 73}{space 3} 1.336875
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.115952{col 32}{space 2} .1646201{col 43}{space 1}    0.74{col 52}{space 3}0.457{col 60}{space 4} .8357569{col 73}{space 3} 1.490084
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.030825{col 32}{space 2} .1068877{col 43}{space 1}    0.29{col 52}{space 3}0.770{col 60}{space 4} .8412454{col 73}{space 3} 1.263128
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9990381{col 32}{space 2} .0723524{col 43}{space 1}   -0.01{col 52}{space 3}0.989{col 60}{space 4} .8668346{col 73}{space 3} 1.151404
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9305034{col 32}{space 2} .0311032{col 43}{space 1}   -2.15{col 52}{space 3}0.031{col 60}{space 4} .8714963{col 73}{space 3} .9935058
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3591799{col 32}{space 2} .4718408{col 43}{space 1}   -0.78{col 52}{space 3}0.436{col 60}{space 4} .0273603{col 73}{space 3} 4.715228
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store E
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       191
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     26.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0015
{txt}Log likelihood = {res}-105.46502{txt}{col 49}Pseudo R2{col 67}= {res}    0.1128

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.862864{col 32}{space 2} 1.730668{col 43}{space 1}    4.44{col 52}{space 3}0.000{col 60}{space 4} 2.420772{col 73}{space 3} 9.768553
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .7908152{col 32}{space 2} .2746816{col 43}{space 1}   -0.68{col 52}{space 3}0.499{col 60}{space 4} .4003306{col 73}{space 3}  1.56218
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.055537{col 32}{space 2} .0959413{col 43}{space 1}    0.59{col 52}{space 3}0.552{col 60}{space 4} .8832931{col 73}{space 3} 1.261369
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.272275{col 32}{space 2} .2606784{col 43}{space 1}    1.18{col 52}{space 3}0.240{col 60}{space 4} .8514847{col 73}{space 3} 1.901012
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8848212{col 32}{space 2} .1367434{col 43}{space 1}   -0.79{col 52}{space 3}0.428{col 60}{space 4} .6535937{col 73}{space 3} 1.197852
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.039544{col 32}{space 2} .1632747{col 43}{space 1}    0.25{col 52}{space 3}0.805{col 60}{space 4} .7640997{col 73}{space 3} 1.414282
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8367996{col 32}{space 2} .0977347{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4} .6655868{col 73}{space 3} 1.052055
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9499085{col 32}{space 2} .0684601{col 43}{space 1}   -0.71{col 52}{space 3}0.476{col 60}{space 4} .8247751{col 73}{space 3} 1.094027
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.001244{col 32}{space 2} .0335084{col 43}{space 1}    0.04{col 52}{space 3}0.970{col 60}{space 4} .9376762{col 73}{space 3} 1.069121
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .5162494{col 32}{space 2} .6861191{col 43}{space 1}   -0.50{col 52}{space 3}0.619{col 60}{space 4} .0381569{col 73}{space 3} 6.984664
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store F
{txt}
{com}. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       197
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     28.19
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0009
{txt}Log likelihood = {res}-120.00607{txt}{col 49}Pseudo R2{col 67}= {res}    0.1051

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.834238{col 32}{space 2} 1.233756{col 43}{space 1}    4.18{col 52}{space 3}0.000{col 60}{space 4} 2.040727{col 73}{space 3} 7.203991
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.160071{col 32}{space 2} .3677565{col 43}{space 1}    0.47{col 52}{space 3}0.640{col 60}{space 4} .6232229{col 73}{space 3} 2.159364
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.00187{col 32}{space 2} .0820475{col 43}{space 1}    0.02{col 52}{space 3}0.982{col 60}{space 4} .8533024{col 73}{space 3} 1.176305
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.128366{col 32}{space 2} .2059892{col 43}{space 1}    0.66{col 52}{space 3}0.508{col 60}{space 4}  .788967{col 73}{space 3} 1.613769
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9341416{col 32}{space 2} .1433398{col 43}{space 1}   -0.44{col 52}{space 3}0.657{col 60}{space 4} .6915119{col 73}{space 3} 1.261902
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.334761{col 32}{space 2} .2263415{col 43}{space 1}    1.70{col 52}{space 3}0.089{col 60}{space 4} .9573294{col 73}{space 3} 1.860997
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7920669{col 32}{space 2}  .091231{col 43}{space 1}   -2.02{col 52}{space 3}0.043{col 60}{space 4} .6320038{col 73}{space 3} .9926681
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9511703{col 32}{space 2} .0731788{col 43}{space 1}   -0.65{col 52}{space 3}0.515{col 60}{space 4} .8180327{col 73}{space 3} 1.105976
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9585786{col 32}{space 2} .0286949{col 43}{space 1}   -1.41{col 52}{space 3}0.158{col 60}{space 4} .9039557{col 73}{space 3} 1.016502
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9551139{col 32}{space 2} 1.332911{col 43}{space 1}   -0.03{col 52}{space 3}0.974{col 60}{space 4} .0619668{col 73}{space 3} 14.72146
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. estimate store I
{txt}
{com}. 
. coefplot (A, label(No Cue) pstyle(p3)) ///
>          (B, label(Dem Endorses the Risk-Averse) pstyle(p4)) ///
>          (C, label(Dem Endorses the Risk-Acceptant) pstyle(p5)) ///
>          (D, label(Rep Endorses the Risk-Averse) pstyle(p6)) ///
>          (E, label(Rep Endorses the Risk-Acceptant) pstyle(p7)) ///
>          (F, label(Group Endorses the Risk-Averse) pstyle(p8)) ///
>          (I, label(Group Endorses the Risk-Acceptant) pstyle(p9)) ///
>         ||, drop(_cons) xtitle(Odd Ratio) title(Asian Disease Experiment 2 (Logit)) levels(90) keep (dummyloss militarism internationalism) xline(1) eform xtitle(Odds ratio) msymbol(S) coeflabels(dummyloss= "Domain of Losses"  militarism= "Militarism" internationalism= "Internationalism")
{res}{txt}
{com}. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. use "experiment1.dta", clear
{txt}
{com}. 
. 
. tab1 age_categorical ethnicity education income party_affiliation_categorical gender political_views_categorical

{res}-> tabulation of age_categorical  

        {txt}Age {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        375       96.90       96.90
{txt}          2 {c |}{res}          6        1.55       98.45
{txt}          3 {c |}{res}          4        1.03       99.48
{txt}          4 {c |}{res}          1        0.26       99.74
{txt}          5 {c |}{res}          1        0.26      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00

-> tabulation of ethnicity  

  {txt}Ethnicity {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         38        9.82        9.82
{txt}          2 {c |}{res}         25        6.46       16.28
{txt}          3 {c |}{res}        268       69.25       85.53
{txt}          4 {c |}{res}          2        0.52       86.05
{txt}          5 {c |}{res}         23        5.94       91.99
{txt}          6 {c |}{res}         27        6.98       98.97
{txt}          7 {c |}{res}          4        1.03      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00

-> tabulation of education  

            {txt}Education {c |}      Freq.     Percent        Cum.
{hline 22}{c +}{hline 35}
          High School {c |}{res}        162       41.86       41.86
{txt}         Some College {c |}{res}        215       55.56       97.42
{txt}              College {c |}{res}         10        2.58      100.00
{txt}{hline 22}{c +}{hline 35}
                Total {c |}{res}        387      100.00

-> tabulation of income  

     {txt}Income {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        344       88.89       88.89
{txt}          2 {c |}{res}         11        2.84       91.73
{txt}          3 {c |}{res}         14        3.62       95.35
{txt}          4 {c |}{res}          8        2.07       97.42
{txt}          5 {c |}{res}          3        0.78       98.19
{txt}          6 {c |}{res}          7        1.81      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00

-> tabulation of party_affiliation_categorical  

      {txt}Party {c |}
Affiliation {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        208       53.75       53.75
{txt}          2 {c |}{res}         70       18.09       71.83
{txt}          3 {c |}{res}        109       28.17      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00

-> tabulation of gender  

     {txt}Gender {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        153       39.53       39.53
{txt}          2 {c |}{res}        233       60.21       99.74
{txt}          3 {c |}{res}          1        0.26      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00

-> tabulation of political_views_categorical  

  {txt}Political {c |}
      Views {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        167       43.15       43.15
{txt}          2 {c |}{res}        126       32.56       75.71
{txt}          3 {c |}{res}         94       24.29      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        387      100.00
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. **Sample Description Experiment 2 (use data file for Experiment 2) 
. 
. use "experiment2.dta", clear
{txt}
{com}. 
. 
. tab1 age_categorical ethnicity education income party_affiliation_categorical gender political_views_categorical

{res}-> tabulation of age_categorical  

 {txt}Age of the {c |}
 Respondent {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        408       25.15       25.15
{txt}          2 {c |}{res}        596       36.74       61.90
{txt}          3 {c |}{res}        315       19.42       81.32
{txt}          4 {c |}{res}        183       11.28       92.60
{txt}          5 {c |}{res}        120        7.40      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of ethnicity  

  {txt}Ethnicity {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        110        6.78        6.78
{txt}          2 {c |}{res}         65        4.01       10.79
{txt}          3 {c |}{res}        223       13.75       24.54
{txt}          4 {c |}{res}          6        0.37       24.91
{txt}          5 {c |}{res}         23        1.42       26.33
{txt}          6 {c |}{res}         15        0.92       27.25
{txt}          7 {c |}{res}      1,180       72.75      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of education  

  {txt}Education {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         11        0.68        0.68
{txt}          2 {c |}{res}        188       11.59       12.27
{txt}          3 {c |}{res}        512       31.57       43.83
{txt}          4 {c |}{res}        660       40.69       84.53
{txt}          5 {c |}{res}        251       15.47      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of income  

     {txt}Income {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        364       22.44       22.44
{txt}         13 {c |}{res}        230       14.18       36.62
{txt}         14 {c |}{res}        331       20.41       57.03
{txt}         15 {c |}{res}        370       22.81       79.84
{txt}         16 {c |}{res}        193       11.90       91.74
{txt}         17 {c |}{res}        134        8.26      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of party_affiliation_categorical  

      {txt}Party {c |}
Affiliation {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        659       40.63       40.63
{txt}          2 {c |}{res}        336       20.72       61.34
{txt}          3 {c |}{res}        627       38.66      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of gender  

     {txt}Gender {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        740       45.62       45.62
{txt}          2 {c |}{res}        874       53.88       99.51
{txt}          3 {c |}{res}          8        0.49      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00

-> tabulation of political_views_categorical  

  {txt}Political {c |}
      Views {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        671       41.37       41.37
{txt}          2 {c |}{res}        378       23.30       64.67
{txt}          3 {c |}{res}        573       35.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,622      100.00
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Democrats Table 6
. prtest dvq27_aboria_n_dem if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      44
                                                   8{txt}: Number of obs = {res}      32
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .3636364{col 28} .0725204{col 58} .2214991{col 70} .5057737
           {txt}8 {c |}{res}{col 17}   .71875{col 28} .0794804{col 58} .5629712{col 70} .8745288
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3551136{col 28} .1075934{col 58}-.5659928{col 70}-.1442344
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1161248{col 38}   -3.06{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.0580
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0011         {txt}Pr(|Z| > |z|) = {res}0.0022          {txt}Pr(Z > z) = {res}0.9989
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      42
                                                  11{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3333333{col 28} .0727393{col 58} .1907669{col 70} .4758997
          {txt}11 {c |}{res}{col 17} .5555556{col 28} .0828173{col 58} .3932366{col 70} .7178745
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2222222{col 28} .1102257{col 58}-.4382607{col 70}-.0061837
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .112627{col 38}   -1.97{col 49}0.048
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.9731
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0242         {txt}Pr(|Z| > |z|) = {res}0.0485          {txt}Pr(Z > z) = {res}0.9758
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      45
                                                  12{txt}: Number of obs = {res}      31
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17}       .4{col 28} .0730297{col 58} .2568645{col 70} .5431355
          {txt}12 {c |}{res}{col 17} .9032258{col 28} .0531003{col 58} .7991511{col 70} 1.007301
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5032258{col 28} .0902938{col 58}-.6801985{col 70}-.3262531
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1140895{col 38}   -4.41{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -4.4108
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      32
                                                   9{txt}: Number of obs = {res}      44
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17}   .28125{col 28} .0794804{col 58} .1254712{col 70} .4370288
           {txt}9 {c |}{res}{col 17} .7045455{col 28} .0687818{col 58} .5697356{col 70} .8393553
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4232955{col 28} .1051098{col 58}-.6293069{col 70} -.217284
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .116004{col 38}   -3.65{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.6490
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0003          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      46
                                                  10{txt}: Number of obs = {res}      31
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3913043{col 28} .0719579{col 58} .2502694{col 70} .5323393
          {txt}10 {c |}{res}{col 17} .7419355{col 28} .0785898{col 58} .5879022{col 70} .8959687
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3506311{col 28} .1065566{col 58}-.5594782{col 70}-.1417841
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1159413{col 38}   -3.02{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.0242
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0012         {txt}Pr(|Z| > |z|) = {res}0.0025          {txt}Pr(Z > z) = {res}0.9988
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      47
                                                  13{txt}: Number of obs = {res}      39
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .3617021{col 28} .0700871{col 58} .2243339{col 70} .4990704
          {txt}13 {c |}{res}{col 17} .6153846{col 28}  .077903{col 58} .4626975{col 70} .7680717
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2536825{col 28} .1047907{col 58}-.4590685{col 70}-.0482965
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1081852{col 38}   -2.34{col 49}0.019
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.3449
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0095         {txt}Pr(|Z| > |z|) = {res}0.0190          {txt}Pr(Z > z) = {res}0.9905
{txt}
{com}. prtest dvq27_aboria_n_dem if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      39
                                                  14{txt}: Number of obs = {res}      40
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .4102564{col 28} .0787639{col 58} .2558821{col 70} .5646307
          {txt}14 {c |}{res}{col 17}       .5{col 28} .0790569{col 58} .3450512{col 70} .6549488
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.0897436{col 28} .1115964{col 58}-.3084684{col 70} .1289812
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1120752{col 38}   -0.80{col 49}0.423
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -0.8007
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.2116         {txt}Pr(|Z| > |z|) = {res}0.4233          {txt}Pr(Z > z) = {res}0.7884
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Republicans Table 6 
. prtest dvq27_aboria_n_rep if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      32
                                                   8{txt}: Number of obs = {res}      33
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17}      .25{col 28} .0765466{col 58} .0999715{col 70} .4000285
           {txt}8 {c |}{res}{col 17} .7575758{col 28} .0746009{col 58} .6113607{col 70} .9037908
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5075758{col 28} .1068862{col 58} -.717069{col 70}-.2980826
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1240347{col 38}   -4.09{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.0922
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      43
                                                  11{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3488372{col 28} .0726812{col 58} .2063847{col 70} .4912897
          {txt}11 {c |}{res}{col 17} .5853659{col 28} .0769404{col 58} .4345655{col 70} .7361662
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2365286{col 28} .1058413{col 58}-.4439737{col 70}-.0290836
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1088611{col 38}   -2.17{col 49}0.030
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.1728
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0149         {txt}Pr(|Z| > |z|) = {res}0.0298          {txt}Pr(Z > z) = {res}0.9851
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      43
                                                  12{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3255814{col 28} .0714596{col 58} .1855232{col 70} .4656396
          {txt}12 {c |}{res}{col 17} .5853659{col 28} .0769404{col 58} .4345655{col 70} .7361662
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2597845{col 28} .1050061{col 58}-.4655927{col 70}-.0539762
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1086438{col 38}   -2.39{col 49}0.017
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.3912
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0084         {txt}Pr(|Z| > |z|) = {res}0.0168          {txt}Pr(Z > z) = {res}0.9916
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      37
                                                   9{txt}: Number of obs = {res}      32
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2972973{col 28} .0751416{col 58} .1500225{col 70} .4445721
           {txt}9 {c |}{res}{col 17}   .53125{col 28} .0882155{col 58} .3583507{col 70} .7041493
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2339527{col 28} .1158803{col 58}-.4610739{col 70}-.0068315
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1185415{col 38}   -1.97{col 49}0.048
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -1.9736
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0242         {txt}Pr(|Z| > |z|) = {res}0.0484          {txt}Pr(Z > z) = {res}0.9758
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      29
                                                  10{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3448276{col 28} .0882632{col 58} .1718348{col 70} .5178203
          {txt}10 {c |}{res}{col 17} .7073171{col 28} .0710581{col 58} .5680457{col 70} .8465885
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3624895{col 28} .1133122{col 58}-.5845773{col 70}-.1404016
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1205239{col 38}   -3.01{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.0076
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0013         {txt}Pr(|Z| > |z|) = {res}0.0026          {txt}Pr(Z > z) = {res}0.9987
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      31
                                                  13{txt}: Number of obs = {res}      34
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .2903226{col 28} .0815249{col 58} .1305368{col 70} .4501084
          {txt}13 {c |}{res}{col 17} .5588235{col 28} .0851538{col 58} .3919251{col 70} .7257219
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2685009{col 28} .1178875{col 58}-.4995563{col 70}-.0374456
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1229711{col 38}   -2.18{col 49}0.029
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.1834
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0145         {txt}Pr(|Z| > |z|) = {res}0.0290          {txt}Pr(Z > z) = {res}0.9855
{txt}
{com}. prtest dvq27_aboria_n_rep if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      40
                                                  14{txt}: Number of obs = {res}      42
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}     .375{col 28} .0765466{col 58} .2249715{col 70} .5250285
          {txt}14 {c |}{res}{col 17} .6428571{col 28} .0739356{col 58}  .497946{col 70} .7877682
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2678571{col 28}  .106423{col 58}-.4764423{col 70} -.059272
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1104315{col 38}   -2.43{col 49}0.015
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.4255
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0076         {txt}Pr(|Z| > |z|) = {res}0.0153          {txt}Pr(Z > z) = {res}0.9924
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Independents Table 6 
. prtest dvq27_aboria_n_ind if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      18
                                                   8{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .6111111{col 28} .1149044{col 58} .3859027{col 70} .8363196
           {txt}8 {c |}{res}{col 17}      .75{col 28} .1082532{col 58} .5378277{col 70} .9621723
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1388889{col 28} .1578663{col 58}-.4483011{col 70} .1705234
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1607402{col 38}   -0.86{col 49}0.388
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -0.8641
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1938         {txt}Pr(|Z| > |z|) = {res}0.3876          {txt}Pr(Z > z) = {res}0.8062
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      12
                                                  11{txt}: Number of obs = {res}      14
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .1666667{col 28} .1075829{col 58}-.0441919{col 70} .3775252
          {txt}11 {c |}{res}{col 17} .6428571{col 28} .1280602{col 58} .3918637{col 70} .8938505
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4761905{col 28} .1672528{col 58}-.8039999{col 70}-.1483811
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1943572{col 38}   -2.45{col 49}0.014
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.4501
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0071         {txt}Pr(|Z| > |z|) = {res}0.0143          {txt}Pr(Z > z) = {res}0.9929
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      11
                                                  12{txt}: Number of obs = {res}      15
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .4545455{col 28} .1501314{col 58} .1602933{col 70} .7487976
          {txt}12 {c |}{res}{col 17} .8666667{col 28} .0877707{col 58} .6946392{col 70} 1.038694
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4121212{col 28} .1739056{col 58}-.7529699{col 70}-.0712726
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1832114{col 38}   -2.25{col 49}0.024
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.2494
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0122         {txt}Pr(|Z| > |z|) = {res}0.0245          {txt}Pr(Z > z) = {res}0.9878
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      25
                                                   9{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17}       .2{col 28}      .08{col 58} .0432029{col 70} .3567971
           {txt}9 {c |}{res}{col 17} .9411765{col 28} .0570672{col 58} .8293268{col 70} 1.053026
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.7411765{col 28} .0982683{col 58}-.9337789{col 70}-.5485741
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .157181{col 38}   -4.72{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -4.7154
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      21
                                                  10{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2857143{col 28} .0985808{col 58} .0924995{col 70} .4789291
          {txt}10 {c |}{res}{col 17} .5294118{col 28} .1210578{col 58} .2921428{col 70} .7666807
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2436975{col 28} .1561191{col 58}-.5496853{col 70} .0622903
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1594717{col 38}   -1.53{col 49}0.126
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -1.5282
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0632         {txt}Pr(|Z| > |z|) = {res}0.1265          {txt}Pr(Z > z) = {res}0.9368
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      19
                                                  13{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .3157895{col 28} .1066392{col 58} .1067805{col 70} .5247985
          {txt}13 {c |}{res}{col 17} .5789474{col 28}  .113269{col 58} .3569443{col 70} .8009505
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2631579{col 28} .1555692{col 58}-.5680679{col 70} .0417522
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1613202{col 38}   -1.63{col 49}0.103
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -1.6313
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0514         {txt}Pr(|Z| > |z|) = {res}0.1028          {txt}Pr(Z > z) = {res}0.9486
{txt}
{com}. prtest dvq27_aboria_n_ind if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      19
                                                  14{txt}: Number of obs = {res}      13
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .3157895{col 28} .1066392{col 58} .1067805{col 70} .5247985
          {txt}14 {c |}{res}{col 17} .6153846{col 28}  .134932{col 58} .3509227{col 70} .8798465
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2995951{col 28} .1719842{col 58} -.636678{col 70} .0374877
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .178557{col 38}   -1.68{col 49}0.093
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -1.6779
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0467         {txt}Pr(|Z| > |z|) = {res}0.0934          {txt}Pr(Z > z) = {res}0.9533
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Democrats Table 7 
. prtest dvq28_venezuela_n_dem if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      45
                                                   8{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .4222222{col 28} .0736283{col 58} .2779134{col 70}  .566531
           {txt}8 {c |}{res}{col 17} .8780488{col 28} .0511047{col 58} .7778855{col 70} .9782121
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4558266{col 28} .0896259{col 58}-.6314902{col 70}-.2801629
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1036609{col 38}   -4.40{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.3973
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      38
                                                  11{txt}: Number of obs = {res}      33
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .4210526{col 28} .0800933{col 58} .2640727{col 70} .5780325
          {txt}11 {c |}{res}{col 17} .6666667{col 28}  .082061{col 58} .5058301{col 70} .8275033
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.245614{col 28} .1146688{col 58}-.4703608{col 70}-.0208673
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1186782{col 38}   -2.07{col 49}0.038
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.0696
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0192         {txt}Pr(|Z| > |z|) = {res}0.0385          {txt}Pr(Z > z) = {res}0.9808
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      41
                                                  12{txt}: Number of obs = {res}      33
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .4878049{col 28} .0780637{col 58} .3348029{col 70} .6408068
          {txt}12 {c |}{res}{col 17} .8181818{col 28} .0671408{col 58} .6865882{col 70} .9497754
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3303769{col 28} .1029652{col 58}-.5321849{col 70} -.128569
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1125812{col 38}   -2.93{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.9346
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0017         {txt}Pr(|Z| > |z|) = {res}0.0033          {txt}Pr(Z > z) = {res}0.9983
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      31
                                                   9{txt}: Number of obs = {res}      44
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .3870968{col 28} .0874832{col 58} .2156328{col 70} .5585608
           {txt}9 {c |}{res}{col 17} .8181818{col 28} .0581456{col 58} .7042184{col 70} .9321452
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.431085{col 28}  .105044{col 58}-.6369674{col 70}-.2252027
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .112555{col 38}   -3.83{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.8300
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      46
                                                  10{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3695652{col 28} .0711683{col 58} .2300779{col 70} .5090526
          {txt}10 {c |}{res}{col 17} .7777778{col 28}   .06929{col 58}  .641972{col 70} .9135836
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4082126{col 28} .0993279{col 58}-.6028916{col 70}-.2135335
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1107312{col 38}   -3.69{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.6865
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      47
                                                  13{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .4893617{col 28}  .072916{col 58}  .346449{col 70} .6322744
          {txt}13 {c |}{res}{col 17}  .804878{col 28} .0618908{col 58} .6835743{col 70} .9261818
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3155163{col 28} .0956411{col 58}-.5029694{col 70}-.1280633
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1027985{col 38}   -3.07{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -3.0693
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0011         {txt}Pr(|Z| > |z|) = {res}0.0021          {txt}Pr(Z > z) = {res}0.9989
{txt}
{com}. prtest dvq28_venezuela_n_dem if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      40
                                                  14{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}     .525{col 28} .0789581{col 58}  .370245{col 70}  .679755
          {txt}14 {c |}{res}{col 17} .6511628{col 28} .0726812{col 58} .5087103{col 70} .7936153
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1261628{col 28}  .107317{col 58}-.3365002{col 70} .0841746
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1080275{col 38}   -1.17{col 49}0.243
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -1.1679
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1214         {txt}Pr(|Z| > |z|) = {res}0.2429          {txt}Pr(Z > z) = {res}0.8786
{txt}
{com}. 
. *Republicans Table 7 
. prtest dvq28_venezuela_n_rep if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      34
                                                   8{txt}: Number of obs = {res}      39
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .4705882{col 28} .0856008{col 58} .3028137{col 70} .6383627
           {txt}8 {c |}{res}{col 17} .8205128{col 28} .0614507{col 58} .7000716{col 70} .9409541
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3499246{col 28} .1053741{col 58}-.5564539{col 70}-.1433952
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1113416{col 38}   -3.14{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.1428
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0008         {txt}Pr(|Z| > |z|) = {res}0.0017          {txt}Pr(Z > z) = {res}0.9992
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      47
                                                  11{txt}: Number of obs = {res}      45
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .5531915{col 28} .0725186{col 58} .4110576{col 70} .6953254
          {txt}11 {c |}{res}{col 17} .6888889{col 28} .0690122{col 58} .5536274{col 70} .8241504
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1356974{col 28} .1001081{col 58}-.3319057{col 70} .0605109
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1012564{col 38}   -1.34{col 49}0.180
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.3401
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0901         {txt}Pr(|Z| > |z|) = {res}0.1802          {txt}Pr(Z > z) = {res}0.9099
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      44
                                                  12{txt}: Number of obs = {res}      40
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3636364{col 28} .0725204{col 58} .2214991{col 70} .5057737
          {txt}12 {c |}{res}{col 17}     .625{col 28} .0765466{col 58} .4749715{col 70} .7750285
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2613636{col 28} .1054447{col 58}-.4680314{col 70}-.0546959
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1092019{col 38}   -2.39{col 49}0.017
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.3934
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0083         {txt}Pr(|Z| > |z|) = {res}0.0167          {txt}Pr(Z > z) = {res}0.9917
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      37
                                                   9{txt}: Number of obs = {res}      35
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .4864865{col 28} .0821695{col 58} .3254373{col 70} .6475357
           {txt}9 {c |}{res}{col 17}       .6{col 28} .0828079{col 58} .4376996{col 70} .7623004
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1135135{col 28} .1166575{col 58}-.3421579{col 70} .1151309
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1174865{col 38}   -0.97{col 49}0.334
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -0.9662
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1670         {txt}Pr(|Z| > |z|) = {res}0.3340          {txt}Pr(Z > z) = {res}0.8330
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      29
                                                  10{txt}: Number of obs = {res}      40
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .4137931{col 28} .0914572{col 58} .2345402{col 70}  .593046
          {txt}10 {c |}{res}{col 17}     .725{col 28} .0706001{col 58} .5866263{col 70} .8633737
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3112069{col 28}  .115537{col 58}-.5376553{col 70}-.0847585
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1197615{col 38}   -2.60{col 49}0.009
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -2.5986
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0047         {txt}Pr(|Z| > |z|) = {res}0.0094          {txt}Pr(Z > z) = {res}0.9953
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      29
                                                  13{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .3103448{col 28} .0859091{col 58} .1419661{col 70} .4787236
          {txt}13 {c |}{res}{col 17} .7631579{col 28} .0689676{col 58}  .627984{col 70} .8983318
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4528131{col 28} .1101676{col 58}-.6687376{col 70}-.2368885
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1221694{col 38}   -3.71{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -3.7064
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq28_venezuela_n_rep if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      38
                                                  14{txt}: Number of obs = {res}      40
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .3947368{col 28} .0792929{col 58} .2393257{col 70}  .550148
          {txt}14 {c |}{res}{col 17}     .725{col 28} .0706001{col 58} .5866263{col 70} .8633737
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3302632{col 28} .1061684{col 58}-.5383494{col 70}-.1221769
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1123302{col 38}   -2.94{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.9401
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0016         {txt}Pr(|Z| > |z|) = {res}0.0033          {txt}Pr(Z > z) = {res}0.9984
{txt}
{com}. 
. 
. *Independents Table 7 
. prtest dvq28_venezuela_n_ind if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      18
                                                   8{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .7777778{col 28} .0979908{col 58} .5857194{col 70} .9698362
           {txt}8 {c |}{res}{col 17} .9473684{col 28} .0512278{col 58} .8469637{col 70} 1.047773
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1695906{col 28} .1105734{col 58}-.3863106{col 70} .0471293
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1124465{col 38}   -1.51{col 49}0.132
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -1.5082
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0658         {txt}Pr(|Z| > |z|) = {res}0.1315          {txt}Pr(Z > z) = {res}0.9342
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      13
                                                  11{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .4615385{col 28} .1382642{col 58} .1905457{col 70} .7325312
          {txt}11 {c |}{res}{col 17} .8333333{col 28}  .087841{col 58}  .661168{col 70} 1.005499
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3717949{col 28} .1638079{col 58}-.6928525{col 70}-.0507373
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1701457{col 38}   -2.19{col 49}0.029
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.1852
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0144         {txt}Pr(|Z| > |z|) = {res}0.0289          {txt}Pr(Z > z) = {res}0.9856
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      11
                                                  12{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3636364{col 28} .1450407{col 58} .0793617{col 70}  .647911
          {txt}12 {c |}{res}{col 17}        1{col 28}        0{col 58}        1{col 70}        1
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.6363636{col 28} .1450407{col 58}-.9206383{col 70} -.352089
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1716429{col 38}   -3.71{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -3.7075
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      23
                                                   9{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .3478261{col 28} .0993113{col 58} .1531794{col 70} .5424727
           {txt}9 {c |}{res}{col 17} .7058824{col 28} .1105102{col 58} .4892864{col 70} .9224783
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3580563{col 28} .1485774{col 58}-.6492626{col 70}-.0668499
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1599233{col 38}   -2.24{col 49}0.025
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.2389
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0126         {txt}Pr(|Z| > |z|) = {res}0.0252          {txt}Pr(Z > z) = {res}0.9874
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      21
                                                  10{txt}: Number of obs = {res}      15
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3809524{col 28} .1059712{col 58} .1732527{col 70} .5886521
          {txt}10 {c |}{res}{col 17}       .8{col 28} .1032796{col 58} .5975758{col 70} 1.002424
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4190476{col 28} .1479748{col 58} -.709073{col 70}-.1290222
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1679842{col 38}   -2.49{col 49}0.013
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -2.4946
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0063         {txt}Pr(|Z| > |z|) = {res}0.0126          {txt}Pr(Z > z) = {res}0.9937
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      21
                                                  13{txt}: Number of obs = {res}      20
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .4761905{col 28} .1089852{col 58} .2625835{col 70} .6897975
          {txt}13 {c |}{res}{col 17}      .85{col 28} .0798436{col 58} .6935094{col 70} 1.006491
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3738095{col 28} .1351028{col 58}-.6386061{col 70}-.1090129
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1481594{col 38}   -2.52{col 49}0.012
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.5230
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0058         {txt}Pr(|Z| > |z|) = {res}0.0116          {txt}Pr(Z > z) = {res}0.9942
{txt}
{com}. prtest dvq28_venezuela_n_ind if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      19
                                                  14{txt}: Number of obs = {res}      14
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .5263158{col 28} .1145489{col 58} .3018041{col 70} .7508275
          {txt}14 {c |}{res}{col 17} .9285714{col 28} .0688303{col 58} .7936665{col 70} 1.063476
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4022556{col 28} .1336378{col 58}-.6641809{col 70}-.1403304
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1618699{col 38}   -2.49{col 49}0.013
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.4851
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0065         {txt}Pr(|Z| > |z|) = {res}0.0130          {txt}Pr(Z > z) = {res}0.9935
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Democrats Table 8 
. prtest dvq29_cameroon_n_dem if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      46
                                                   8{txt}: Number of obs = {res}      46
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1304348{col 28} .0496557{col 58} .0331115{col 70} .2277581
           {txt}8 {c |}{res}{col 17} .8695652{col 28} .0496557{col 58} .7722419{col 70} .9668885
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.7391304{col 28} .0702237{col 58}-.8767664{col 70}-.6014945
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1042572{col 38}   -7.09{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -7.0895
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      44
                                                  11{txt}: Number of obs = {res}      30
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .1818182{col 28} .0581456{col 58} .0678548{col 70} .2957816
          {txt}11 {c |}{res}{col 17} .5666667{col 28}  .090472{col 58} .3893448{col 70} .7439886
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3848485{col 28} .1075458{col 58}-.5956344{col 70}-.1740626
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1119864{col 38}   -3.44{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.4366
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0003         {txt}Pr(|Z| > |z|) = {res}0.0006          {txt}Pr(Z > z) = {res}0.9997
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      43
                                                  12{txt}: Number of obs = {res}      31
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .1162791{col 28} .0488848{col 58} .0204666{col 70} .2120916
          {txt}12 {c |}{res}{col 17} .7741935{col 28} .0750952{col 58} .6270097{col 70} .9213774
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.6579145{col 28} .0896048{col 58}-.8335366{col 70}-.4822924
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1150203{col 38}   -5.72{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -5.7200
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      30
                                                   9{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1333333{col 28} .0620633{col 58} .0116915{col 70} .2549751
           {txt}9 {c |}{res}{col 17} .7209302{col 28}  .068402{col 58} .5868648{col 70} .8549957
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5875969{col 28} .0923617{col 58}-.7686225{col 70}-.4065713
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1188419{col 38}   -4.94{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -4.9444
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      48
                                                  10{txt}: Number of obs = {res}      32
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .3333333{col 28} .0680414{col 58} .1999747{col 70}  .466692
          {txt}10 {c |}{res}{col 17}   .71875{col 28} .0794804{col 58} .5629712{col 70} .8745288
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3854167{col 28} .1046268{col 58}-.5904814{col 70}-.1803519
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1140732{col 38}   -3.38{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.3787
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0004         {txt}Pr(|Z| > |z|) = {res}0.0007          {txt}Pr(Z > z) = {res}0.9996
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      49
                                                  13{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .1020408{col 28} .0432431{col 58} .0172858{col 70} .1867958
          {txt}13 {c |}{res}{col 17} .6315789{col 28} .0782518{col 58} .4782083{col 70} .7849496
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5295381{col 28} .0894053{col 58}-.7047693{col 70}-.3543069
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1018975{col 38}   -5.20{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -5.1968
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_dem if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      39
                                                  14{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .1538462{col 28} .0577744{col 58} .0406103{col 70}  .267082
          {txt}14 {c |}{res}{col 17} .5789474{col 28} .0800933{col 58} .4219675{col 70} .7359273
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4251012{col 28} .0987563{col 58}-.6186601{col 70}-.2315423
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1096497{col 38}   -3.88{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.8769
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. 
. 
. *Republicans Table 8 
. prtest dvq29_cameroon_n_rep if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      33
                                                   8{txt}: Number of obs = {res}      46
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .3030303{col 28} .0800006{col 58} .1462321{col 70} .4598285
           {txt}8 {c |}{res}{col 17} .7826087{col 28} .0608155{col 58} .6634124{col 70} .9018049
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4795784{col 28} .1004919{col 58}-.6765389{col 70}-.2826179
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1125088{col 38}   -4.26{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.2626
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      43
                                                  11{txt}: Number of obs = {res}      39
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17}  .255814{col 28} .0665378{col 58} .1254022{col 70} .3862257
          {txt}11 {c |}{res}{col 17} .6666667{col 28} .0754851{col 58} .5187185{col 70} .8146148
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4108527{col 28} .1006245{col 58}-.6080731{col 70}-.2136323
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1100357{col 38}   -3.73{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.7338
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      44
                                                  12{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2727273{col 28} .0671408{col 58} .1411337{col 70} .4043208
          {txt}12 {c |}{res}{col 17} .5555556{col 28} .0828173{col 58} .3932366{col 70} .7178745
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2828283{col 28} .1066143{col 58}-.4917884{col 70}-.0738682
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1100964{col 38}   -2.57{col 49}0.010
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.5689
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0051         {txt}Pr(|Z| > |z|) = {res}0.0102          {txt}Pr(Z > z) = {res}0.9949
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      37
                                                   9{txt}: Number of obs = {res}      35
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2162162{col 28}  .067677{col 58} .0835716{col 70} .3488608
           {txt}9 {c |}{res}{col 17} .4571429{col 28} .0842044{col 58} .2921053{col 70} .6221804
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2409266{col 28} .1080304{col 58}-.4526623{col 70} -.029191
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .111154{col 38}   -2.17{col 49}0.030
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.1675
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0151         {txt}Pr(|Z| > |z|) = {res}0.0302          {txt}Pr(Z > z) = {res}0.9849
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      29
                                                  10{txt}: Number of obs = {res}      35
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2413793{col 28} .0794627{col 58} .0856353{col 70} .3971234
          {txt}10 {c |}{res}{col 17} .6571429{col 28} .0802329{col 58} .4998893{col 70} .8143964
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4157635{col 28} .1129232{col 58}-.6370889{col 70}-.1944382
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1253075{col 38}   -3.32{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.3179
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0005         {txt}Pr(|Z| > |z|) = {res}0.0009          {txt}Pr(Z > z) = {res}0.9995
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      33
                                                  13{txt}: Number of obs = {res}      31
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .1818182{col 28} .0671408{col 58} .0502246{col 70} .3134118
          {txt}13 {c |}{res}{col 17}  .483871{col 28} .0897559{col 58} .3079526{col 70} .6597893
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3020528{col 28} .1120893{col 58}-.5217438{col 70}-.0823618
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}   .11744{col 38}   -2.57{col 49}0.010
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.5720
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0051         {txt}Pr(|Z| > |z|) = {res}0.0101          {txt}Pr(Z > z) = {res}0.9949
{txt}
{com}. prtest dvq29_cameroon_n_rep if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      37
                                                  14{txt}: Number of obs = {res}      39
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .2162162{col 28}  .067677{col 58} .0835716{col 70} .3488608
          {txt}14 {c |}{res}{col 17} .6410256{col 28} .0768134{col 58} .4904741{col 70} .7915772
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4248094{col 28} .1023742{col 58}-.6254592{col 70}-.2241596
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}   .11375{col 38}   -3.73{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.7346
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. 
. 
. *Independents Table 8 
. prtest dvq29_cameroon_n_ind if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      17
                                                   8{txt}: Number of obs = {res}      24
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1764706{col 28} .0924594{col 58}-.0047466{col 70} .3576878
           {txt}8 {c |}{res}{col 17} .7916667{col 28} .0828982{col 58} .6291892{col 70} .9541441
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.6151961{col 28} .1241807{col 58}-.8585858{col 70}-.3718063
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1580761{col 38}   -3.89{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.8918
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      10
                                                  11{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17}       .3{col 28} .1449138{col 58} .0159742{col 70} .5840258
          {txt}11 {c |}{res}{col 17}    .6875{col 28} .1158781{col 58} .4603831{col 70} .9146169
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}   -.3875{col 28} .1855471{col 58}-.7511657{col 70}-.0238343
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .2009592{col 38}   -1.93{col 49}0.054
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.9283
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0269         {txt}Pr(|Z| > |z|) = {res}0.0538          {txt}Pr(Z > z) = {res}0.9731
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}       9
                                                  12{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3333333{col 28} .1571348{col 58} .0253547{col 70}  .641312
          {txt}12 {c |}{res}{col 17} .6666667{col 28} .1111111{col 58} .4488929{col 70} .8844404
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3333333{col 28} .1924501{col 58}-.7105286{col 70} .0438619
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .2028602{col 38}   -1.64{col 49}0.100
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -1.6432
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0502         {txt}Pr(|Z| > |z|) = {res}0.1003          {txt}Pr(Z > z) = {res}0.9498
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      27
                                                   9{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1481481{col 28} .0683673{col 58} .0141508{col 70} .2821455
           {txt}9 {c |}{res}{col 17} .6470588{col 28}  .115904{col 58} .4198911{col 70} .8742266
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4989107{col 28} .1345653{col 58}-.7626539{col 70}-.2351675
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1467614{col 38}   -3.40{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.3995
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0003         {txt}Pr(|Z| > |z|) = {res}0.0007          {txt}Pr(Z > z) = {res}0.9997
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      19
                                                  10{txt}: Number of obs = {res}      15
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2631579{col 28} .1010226{col 58} .0651572{col 70} .4611586
          {txt}10 {c |}{res}{col 17}       .8{col 28} .1032796{col 58} .5975758{col 70} 1.002424
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5368421{col 28} .1444723{col 58}-.8200025{col 70}-.2536817
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1726979{col 38}   -3.11{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.1086
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0009         {txt}Pr(|Z| > |z|) = {res}0.0019          {txt}Pr(Z > z) = {res}0.9991
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      20
                                                  13{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}       .2{col 28} .0894427{col 58} .0246955{col 70} .3753045
          {txt}13 {c |}{res}{col 17} .7777778{col 28} .0979908{col 58} .5857194{col 70} .9698362
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5777778{col 28} .1326733{col 58}-.8378126{col 70} -.317743
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1622214{col 38}   -3.56{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -3.5617
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0004          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. prtest dvq29_cameroon_n_ind if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      18
                                                  14{txt}: Number of obs = {res}      12
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .2222222{col 28} .0979908{col 58} .0301638{col 70} .4142806
          {txt}14 {c |}{res}{col 17}      .75{col 28}     .125{col 58} .5050045{col 70} .9949955
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5277778{col 28} .1588307{col 58}-.8390803{col 70}-.2164753
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1846752{col 38}   -2.86{col 49}0.004
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.8579
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0021         {txt}Pr(|Z| > |z|) = {res}0.0043          {txt}Pr(Z > z) = {res}0.9979
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Democrats Table 9 
. prtest dvq30_tariffs_n_dem if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      45
                                                   8{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1333333{col 28} .0506745{col 58} .0340132{col 70} .2326535
           {txt}8 {c |}{res}{col 17} .6388889{col 28} .0800538{col 58} .4819864{col 70} .7957914
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5055556{col 28} .0947444{col 58}-.6912512{col 70}-.3198599
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1072014{col 38}   -4.72{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.7159
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      42
                                                  11{txt}: Number of obs = {res}      37
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .2619048{col 28} .0678427{col 58} .1289355{col 70} .3948741
          {txt}11 {c |}{res}{col 17} .3783784{col 28} .0797307{col 58} .2221092{col 70} .5346476
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1164736{col 28} .1046882{col 58}-.3216587{col 70} .0887114
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1048643{col 38}   -1.11{col 49}0.267
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.1107
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1333         {txt}Pr(|Z| > |z|) = {res}0.2667          {txt}Pr(Z > z) = {res}0.8667
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      47
                                                  12{txt}: Number of obs = {res}      30
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .1489362{col 28} .0519317{col 58}  .047152{col 70} .2507204
          {txt}12 {c |}{res}{col 17} .4333333{col 28}  .090472{col 58} .2560114{col 70} .6106552
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2843972{col 28} .1043172{col 58}-.4888552{col 70}-.0799392
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1024702{col 38}   -2.78{col 49}0.006
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.7754
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0028         {txt}Pr(|Z| > |z|) = {res}0.0055          {txt}Pr(Z > z) = {res}0.9972
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      34
                                                   9{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .2647059{col 28} .0756611{col 58} .1164128{col 70}  .412999
           {txt}9 {c |}{res}{col 17} .5581395{col 28} .0757321{col 58} .4097074{col 70} .7065716
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2934337{col 28} .1070512{col 58}-.5032501{col 70}-.0836172
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1135702{col 38}   -2.58{col 49}0.010
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.5837
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0049         {txt}Pr(|Z| > |z|) = {res}0.0098          {txt}Pr(Z > z) = {res}0.9951
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      49
                                                  10{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .1836735{col 28} .0553168{col 58} .0752545{col 70} .2920924
          {txt}10 {c |}{res}{col 17} .5277778{col 28} .0832046{col 58} .3646997{col 70} .6908559
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3441043{col 28} .0999148{col 58}-.5399337{col 70} -.148275
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .103171{col 38}   -3.34{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -3.3353
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0004         {txt}Pr(|Z| > |z|) = {res}0.0009          {txt}Pr(Z > z) = {res}0.9996
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      54
                                                  13{txt}: Number of obs = {res}      44
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .2037037{col 28} .0548075{col 58}  .096283{col 70} .3111244
          {txt}13 {c |}{res}{col 17} .6136364{col 28} .0734053{col 58} .4697646{col 70} .7575081
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4099327{col 28} .0916089{col 58}-.5894829{col 70}-.2303824
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0989535{col 38}   -4.14{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -4.1427
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n_dem if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      40
                                                  14{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17}       .3{col 28} .0724569{col 58} .1579871{col 70} .4420129
          {txt}14 {c |}{res}{col 17} .4736842{col 28} .0809983{col 58} .3149305{col 70} .6324379
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1736842{col 28} .1086772{col 58}-.3866875{col 70} .0393191
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1102078{col 38}   -1.58{col 49}0.115
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -1.5760
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0575         {txt}Pr(|Z| > |z|) = {res}0.1150          {txt}Pr(Z > z) = {res}0.9425
{txt}
{com}. 
. 
. *Republicans Table 9 
. prtest dvq30_tariffs_n_rep if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      39
                                                   8{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .2307692{col 28}  .067466{col 58} .0985383{col 70} .3630002
           {txt}8 {c |}{res}{col 17} .7368421{col 28} .0714338{col 58} .5968345{col 70} .8768497
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.5060729{col 28}  .098257{col 58}-.6986531{col 70}-.3134926
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1138837{col 38}   -4.44{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.4438
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      52
                                                  11{txt}: Number of obs = {res}      44
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .2115385{col 28} .0566348{col 58} .1005363{col 70} .3225406
          {txt}11 {c |}{res}{col 17} .5227273{col 28} .0752999{col 58} .3751421{col 70} .6703124
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3111888{col 28} .0942209{col 58}-.4958584{col 70}-.1265192
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0979652{col 38}   -3.18{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.1765
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0007         {txt}Pr(|Z| > |z|) = {res}0.0015          {txt}Pr(Z > z) = {res}0.9993
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      46
                                                  12{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .2391304{col 28} .0628917{col 58} .1158649{col 70}  .362396
          {txt}12 {c |}{res}{col 17}  .627907{col 28} .0737122{col 58} .4834338{col 70} .7723802
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3887765{col 28} .0968961{col 58}-.5786894{col 70}-.1988637
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1049225{col 38}   -3.71{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -3.7054
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0002          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      42
                                                   9{txt}: Number of obs = {res}      34
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1904762{col 28} .0605913{col 58} .0717194{col 70}  .309233
           {txt}9 {c |}{res}{col 17} .5882353{col 28} .0844035{col 58} .4228074{col 70} .7536632
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3977591{col 28} .1039003{col 58}-.6013999{col 70}-.1941183
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .111283{col 38}   -3.57{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.5743
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0002         {txt}Pr(|Z| > |z|) = {res}0.0004          {txt}Pr(Z > z) = {res}0.9998
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      35
                                                  10{txt}: Number of obs = {res}      39
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .1142857{col 28} .0537785{col 58} .0088818{col 70} .2196897
          {txt}10 {c |}{res}{col 17} .7435897{col 28} .0699201{col 58} .6065489{col 70} .8806306
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.629304{col 28} .0882097{col 58}-.8021918{col 70}-.4564162
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1157355{col 38}   -5.44{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -5.4374
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      33
                                                  13{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .1818182{col 28} .0671408{col 58} .0502246{col 70} .3134118
          {txt}13 {c |}{res}{col 17} .5116279{col 28} .0762287{col 58} .3622225{col 70} .6610333
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3298097{col 28}  .101581{col 58}-.5289048{col 70}-.1307146
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1116353{col 38}   -2.95{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.9543
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0016         {txt}Pr(|Z| > |z|) = {res}0.0031          {txt}Pr(Z > z) = {res}0.9984
{txt}
{com}. prtest dvq30_tariffs_n_rep if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      43
                                                  14{txt}: Number of obs = {res}      42
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .2093023{col 28}  .062038{col 58}   .08771{col 70} .3308946
          {txt}14 {c |}{res}{col 17} .5714286{col 28} .0763604{col 58}  .421765{col 70} .7210921
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3621262{col 28} .0983851{col 58}-.5549574{col 70}-.1692951
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1057281{col 38}   -3.43{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -3.4251
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0003         {txt}Pr(|Z| > |z|) = {res}0.0006          {txt}Pr(Z > z) = {res}0.9997
{txt}
{com}. 
. 
. *Independents Table 9 
. prtest dvq30_tariffs_n_ind if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      22
                                                   8{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1363636{col 28}  .073165{col 58}-.0070371{col 70} .2797644
           {txt}8 {c |}{res}{col 17} .6666667{col 28} .1111111{col 58} .4488929{col 70} .8844404
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.530303{col 28} .1330368{col 58}-.7910504{col 70}-.2695556
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1538644{col 38}   -3.45{col 49}0.001
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.4466
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0003         {txt}Pr(|Z| > |z|) = {res}0.0006          {txt}Pr(Z > z) = {res}0.9997
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      11
                                                  11{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3636364{col 28} .1450407{col 58} .0793617{col 70}  .647911
          {txt}11 {c |}{res}{col 17}    .6875{col 28} .1158781{col 58} .4603831{col 70} .9146169
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3238636{col 28} .1856463{col 58}-.6877237{col 70} .0399964
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1946247{col 38}   -1.66{col 49}0.096
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -1.6640
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0481         {txt}Pr(|Z| > |z|) = {res}0.0961          {txt}Pr(Z > z) = {res}0.9519
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      16
                                                  12{txt}: Number of obs = {res}      23
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17}      .25{col 28} .1082532{col 58} .0378277{col 70} .4621723
          {txt}12 {c |}{res}{col 17} .6521739{col 28} .0993113{col 58} .4575273{col 70} .8468206
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4021739{col 28} .1469064{col 58}-.6901052{col 70}-.1142426
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .162718{col 38}   -2.47{col 49}0.013
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -2.4716
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0067         {txt}Pr(|Z| > |z|) = {res}0.0135          {txt}Pr(Z > z) = {res}0.9933
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      29
                                                   9{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1724138{col 28} .0701445{col 58} .0349331{col 70} .3098945
           {txt}9 {c |}{res}{col 17}     .625{col 28} .1210307{col 58} .3877841{col 70} .8622159
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4525862{col 28} .1398881{col 58}-.7267619{col 70}-.1784105
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1468051{col 38}   -3.08{col 49}0.002
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -3.0829
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0010         {txt}Pr(|Z| > |z|) = {res}0.0020          {txt}Pr(Z > z) = {res}0.9990
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      22
                                                  10{txt}: Number of obs = {res}      19
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2727273{col 28} .0949514{col 58} .0866259{col 70} .4588287
          {txt}10 {c |}{res}{col 17} .7368421{col 28} .1010226{col 58} .5388414{col 70} .9348428
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4641148{col 28} .1386411{col 58}-.7358463{col 70}-.1923833
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1565469{col 38}   -2.96{col 49}0.003
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -2.9647
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0015         {txt}Pr(|Z| > |z|) = {res}0.0030          {txt}Pr(Z > z) = {res}0.9985
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      25
                                                  13{txt}: Number of obs = {res}      15
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}      .24{col 28} .0854166{col 58} .0725865{col 70} .4074135
          {txt}13 {c |}{res}{col 17}       .6{col 28} .1264911{col 58}  .352082{col 70}  .847918
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}     -.36{col 28} .1526303{col 58}-.6591498{col 70}-.0608502
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1581139{col 38}   -2.28{col 49}0.023
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.2768
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0114         {txt}Pr(|Z| > |z|) = {res}0.0228          {txt}Pr(Z > z) = {res}0.9886
{txt}
{com}. prtest dvq30_tariffs_n_ind if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      21
                                                  14{txt}: Number of obs = {res}      16
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .1904762{col 28} .0856891{col 58} .0225287{col 70} .3584237
          {txt}14 {c |}{res}{col 17}    .5625{col 28} .1240196{col 58} .3194261{col 70} .8055739
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3720238{col 28} .1507431{col 58}-.6674748{col 70}-.0765728
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1584188{col 38}   -2.35{col 49}0.019
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.3484
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0094         {txt}Pr(|Z| > |z|) = {res}0.0189          {txt}Pr(Z > z) = {res}0.9906
{txt}
{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Democrats Table 10 
. prtest dvq31_disease_n_dem if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      42
                                                   8{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .3333333{col 28} .0727393{col 58} .1907669{col 70} .4758997
           {txt}8 {c |}{res}{col 17}       .5{col 28} .0833333{col 58} .3366697{col 70} .6633303
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1666667{col 28}  .110614{col 58}-.3834661{col 70} .0501327
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1117199{col 38}   -1.49{col 49}0.136
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -1.4918
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0679         {txt}Pr(|Z| > |z|) = {res}0.1357          {txt}Pr(Z > z) = {res}0.9321
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      42
                                                  11{txt}: Number of obs = {res}      35
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .2380952{col 28} .0657205{col 58} .1092854{col 70} .3669051
          {txt}11 {c |}{res}{col 17} .4571429{col 28} .0842044{col 58} .2921053{col 70} .6221804
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2190476{col 28} .1068156{col 58}-.4284023{col 70}-.0096929
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .108235{col 38}   -2.02{col 49}0.043
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.0238
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0215         {txt}Pr(|Z| > |z|) = {res}0.0430          {txt}Pr(Z > z) = {res}0.9785
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      44
                                                  12{txt}: Number of obs = {res}      32
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .4772727{col 28} .0752999{col 58} .3296876{col 70} .6248579
          {txt}12 {c |}{res}{col 17}   .65625{col 28} .0839617{col 58} .4916882{col 70} .8208118
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1789773{col 28} .1127814{col 58}-.4000247{col 70} .0420702
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1155197{col 38}   -1.55{col 49}0.121
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -1.5493
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0607         {txt}Pr(|Z| > |z|) = {res}0.1213          {txt}Pr(Z > z) = {res}0.9393
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      31
                                                   9{txt}: Number of obs = {res}      28
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1612903{col 28} .0660586{col 58} .0318179{col 70} .2907627
           {txt}9 {c |}{res}{col 17} .4285714{col 28}  .093522{col 58} .2452718{col 70} .6118711
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2672811{col 28} .1144993{col 58}-.4916956{col 70}-.0428666
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1180764{col 38}   -2.26{col 49}0.024
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -2.2636
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0118         {txt}Pr(|Z| > |z|) = {res}0.0236          {txt}Pr(Z > z) = {res}0.9882
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      42
                                                  10{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2857143{col 28} .0697071{col 58} .1490908{col 70} .4223378
          {txt}10 {c |}{res}{col 17} .4444444{col 28} .0828173{col 58} .2821255{col 70} .6067634
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1587302{col 28} .1082488{col 58}-.3708939{col 70} .0534335
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1089534{col 38}   -1.46{col 49}0.145
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -1.4569
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0726         {txt}Pr(|Z| > |z|) = {res}0.1452          {txt}Pr(Z > z) = {res}0.9274
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      54
                                                  13{txt}: Number of obs = {res}      41
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .1296296{col 28} .0457096{col 58} .0400405{col 70} .2192188
          {txt}13 {c |}{res}{col 17} .5609756{col 28}  .077504{col 58} .4090705{col 70} .7128808
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.431346{col 28} .0899791{col 58}-.6077018{col 70}-.2549901
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .0962868{col 38}   -4.48{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -4.4798
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n_dem if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      41
                                                  14{txt}: Number of obs = {res}      42
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .2439024{col 28} .0670664{col 58} .1124547{col 70} .3753502
          {txt}14 {c |}{res}{col 17}       .5{col 28} .0771517{col 58} .3487855{col 70} .6512145
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2560976{col 28} .1022266{col 58}-.4564581{col 70} -.055737
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1062006{col 38}   -2.41{col 49}0.016
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.4115
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0079         {txt}Pr(|Z| > |z|) = {res}0.0159          {txt}Pr(Z > z) = {res}0.9921
{txt}
{com}. 
. 
. *Republicans Table 10 
. prtest dvq31_disease_n_rep if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      36
                                                   8{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1666667{col 28}  .062113{col 58} .0449274{col 70} .2884059
           {txt}8 {c |}{res}{col 17} .6315789{col 28} .0782518{col 58} .4782083{col 70} .7849496
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4649123{col 28} .0999068{col 58} -.660726{col 70}-.2690986
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}   .11419{col 38}   -4.07{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -4.0714
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0000          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      50
                                                  11{txt}: Number of obs = {res}      44
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17}      .16{col 28} .0518459{col 58} .0583839{col 70} .2616161
          {txt}11 {c |}{res}{col 17} .5454545{col 28} .0750657{col 58} .3983285{col 70} .6925806
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3854545{col 28} .0912297{col 58}-.5642615{col 70}-.2066476
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .097948{col 38}   -3.94{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -3.9353
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0000         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}1.0000
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      40
                                                  12{txt}: Number of obs = {res}      38
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17}     .425{col 28} .0781625{col 58} .2718043{col 70} .5781957
          {txt}12 {c |}{res}{col 17} .4210526{col 28} .0800933{col 58} .2640727{col 70} .5780325
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} .0039474{col 28}  .111912{col 58}-.2153962{col 70} .2232909
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1119165{col 38}    0.04{col 49}0.972
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res}  0.0353
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.5141         {txt}Pr(|Z| > |z|) = {res}0.9719          {txt}Pr(Z > z) = {res}0.4859
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      39
                                                   9{txt}: Number of obs = {res}      32
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .1794872{col 28} .0614507{col 58} .0590459{col 70} .2999284
           {txt}9 {c |}{res}{col 17}     .375{col 28} .0855816{col 58}  .207263{col 70}  .542737
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1955128{col 28} .1053585{col 58}-.4020117{col 70}  .010986
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1055947{col 38}   -1.85{col 49}0.064
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -1.8515
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0320         {txt}Pr(|Z| > |z|) = {res}0.0641          {txt}Pr(Z > z) = {res}0.9680
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      32
                                                  10{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17}   .21875{col 28} .0730792{col 58} .0755173{col 70} .3619827
          {txt}10 {c |}{res}{col 17} .5348837{col 28} .0760635{col 58}  .385802{col 70} .6839654
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.3161337{col 28} .1054809{col 58}-.5228726{col 70}-.1093949
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1143739{col 38}   -2.76{col 49}0.006
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -2.7640
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0029         {txt}Pr(|Z| > |z|) = {res}0.0057          {txt}Pr(Z > z) = {res}0.9971
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      29
                                                  13{txt}: Number of obs = {res}      36
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17}  .137931{col 28} .0640329{col 58} .0124289{col 70} .2634332
          {txt}13 {c |}{res}{col 17} .3888889{col 28} .0812497{col 58} .2296425{col 70} .5481353
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2509579{col 28} .1034491{col 58}-.4537144{col 70}-.0482013
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}  .111655{col 38}   -2.25{col 49}0.025
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -2.2476
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0123         {txt}Pr(|Z| > |z|) = {res}0.0246          {txt}Pr(Z > z) = {res}0.9877
{txt}
{com}. prtest dvq31_disease_n_rep if treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      41
                                                  14{txt}: Number of obs = {res}      43
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .3414634{col 28} .0740577{col 58}  .196313{col 70} .4866138
          {txt}14 {c |}{res}{col 17}  .627907{col 28} .0737122{col 58} .4834338{col 70} .7723802
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2864436{col 28} .1044893{col 58}-.4912389{col 70}-.0816482
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1091089{col 38}   -2.63{col 49}0.009
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -2.6253
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0043         {txt}Pr(|Z| > |z|) = {res}0.0087          {txt}Pr(Z > z) = {res}0.9957
{txt}
{com}. 
. 
. *Independents Table 10 
. prtest dvq31_disease_n_ind if treatment==1 | treatment==8, by(treatment)

{txt}Two-sample test of proportions                     {res}1{txt}: Number of obs = {res}      21
                                                   8{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           1 {c |}{res}{col 17} .1904762{col 28} .0856891{col 58} .0225287{col 70} .3584237
           {txt}8 {c |}{res}{col 17} .8235294{col 28} .0924594{col 58} .6423122{col 70} 1.004747
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.6330532{col 28}  .126061{col 58}-.8801282{col 70}-.3859783
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1629016{col 38}   -3.89{col 49}0.000
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}1{txt}) - prop({res}8{txt})                                  z = {res} -3.8861
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0001         {txt}Pr(|Z| > |z|) = {res}0.0001          {txt}Pr(Z > z) = {res}0.9999
{txt}
{com}. prtest dvq31_disease_n_ind if treatment==4 | treatment==11, by(treatment)  

{txt}Two-sample test of proportions                     {res}4{txt}: Number of obs = {res}      13
                                                  11{txt}: Number of obs = {res}      14
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           4 {c |}{res}{col 17} .3846154{col 28}  .134932{col 58} .1201535{col 70} .6490773
          {txt}11 {c |}{res}{col 17} .7857143{col 28} .1096642{col 58} .5707764{col 70} 1.000652
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.4010989{col 28} .1738761{col 58}-.7418897{col 70}-.0603081
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1892513{col 38}   -2.12{col 49}0.034
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}4{txt}) - prop({res}11{txt})                                 z = {res} -2.1194
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0170         {txt}Pr(|Z| > |z|) = {res}0.0341          {txt}Pr(Z > z) = {res}0.9830
{txt}
{com}. prtest dvq31_disease_n_ind if treatment==5 | treatment==12, by(treatment)

{txt}Two-sample test of proportions                     {res}5{txt}: Number of obs = {res}      14
                                                  12{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           5 {c |}{res}{col 17} .3571429{col 28} .1280602{col 58} .1061495{col 70} .6081363
          {txt}12 {c |}{res}{col 17} .5294118{col 28} .1210578{col 58} .2921428{col 70} .7666807
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1722689{col 28} .1762226{col 58}-.5176589{col 70} .1731211
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1796053{col 38}   -0.96{col 49}0.337
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}5{txt}) - prop({res}12{txt})                                 z = {res} -0.9592
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1687         {txt}Pr(|Z| > |z|) = {res}0.3375          {txt}Pr(Z > z) = {res}0.8313
{txt}
{com}. prtest dvq31_disease_n_ind if treatment==2 | treatment==9, by(treatment) 

{txt}Two-sample test of proportions                     {res}2{txt}: Number of obs = {res}      26
                                                   9{txt}: Number of obs = {res}       8
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           2 {c |}{res}{col 17} .0769231{col 28} .0522589{col 58}-.0255026{col 70} .1793487
           {txt}9 {c |}{res}{col 17}      .25{col 28} .1530931{col 58} -.050057{col 70}  .550057
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1730769{col 28} .1617668{col 58} -.490134{col 70} .1439802
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1302625{col 38}   -1.33{col 49}0.184
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}2{txt}) - prop({res}9{txt})                                  z = {res} -1.3287
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0920         {txt}Pr(|Z| > |z|) = {res}0.1840          {txt}Pr(Z > z) = {res}0.9080
{txt}
{com}. prtest dvq31_disease_n_ind if treatment==3 | treatment==10, by(treatment)  

{txt}Two-sample test of proportions                     {res}3{txt}: Number of obs = {res}      22
                                                  10{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           3 {c |}{res}{col 17} .2272727{col 28} .0893461{col 58} .0521577{col 70} .4023878
          {txt}10 {c |}{res}{col 17} .5294118{col 28} .1210578{col 58} .2921428{col 70} .7666807
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17} -.302139{col 28} .1504584{col 58} -.597032{col 70}-.0072461
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1549052{col 38}   -1.95{col 49}0.051
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}3{txt}) - prop({res}10{txt})                                 z = {res} -1.9505
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0256         {txt}Pr(|Z| > |z|) = {res}0.0511          {txt}Pr(Z > z) = {res}0.9744
{txt}
{com}. prtest dvq31_disease_n_ind if treatment==6 | treatment==13, by(treatment)

{txt}Two-sample test of proportions                     {res}6{txt}: Number of obs = {res}      17
                                                  13{txt}: Number of obs = {res}      17
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           6 {c |}{res}{col 17} .2941176{col 28} .1105102{col 58} .0775217{col 70} .5107136
          {txt}13 {c |}{res}{col 17} .4705882{col 28} .1210578{col 58} .2333193{col 70} .7078572
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.1764706{col 28} .1639131{col 58}-.4977343{col 70} .1447931
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1666836{col 38}   -1.06{col 49}0.290
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}6{txt}) - prop({res}13{txt})                                 z = {res} -1.0587
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.1449         {txt}Pr(|Z| > |z|) = {res}0.2897          {txt}Pr(Z > z) = {res}0.8551
{txt}
{com}. prtest dvq31_disease_n_ind if  treatment==7 | treatment==14, by(treatment)

{txt}Two-sample test of proportions                     {res}7{txt}: Number of obs = {res}      18
                                                  14{txt}: Number of obs = {res}      18
{txt}{hline 13}{c TT}{hline 64}
       Group{col 14}{c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
           7 {c |}{res}{col 17} .3333333{col 28} .1111111{col 58} .1155596{col 70} .5511071
          {txt}14 {c |}{res}{col 17} .5555556{col 28} .1171214{col 58} .3260018{col 70} .7851093
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}-.2222222{col 28} .1614407{col 58}-.5386402{col 70} .0941957
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28} .1656347{col 38}   -1.34{col 49}0.180
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}7{txt}) - prop({res}14{txt})                                 z = {res} -1.3416
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.0899         {txt}Pr(|Z| > |z|) = {res}0.1797          {txt}Pr(Z > z) = {res}0.9101
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 11 Aboria 
. 
.  
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       171
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     33.89
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-100.92422{txt}{col 49}Pseudo R2{col 67}= {res}    0.1438

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.860148{col 32}{space 2} 2.119489{col 43}{space 1}    4.89{col 52}{space 3}0.000{col 60}{space 4} 2.884346{col 73}{space 3} 11.90611
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.191424{col 32}{space 2} .4084516{col 43}{space 1}    0.51{col 52}{space 3}0.609{col 60}{space 4} .6084877{col 73}{space 3} 2.332817
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8797792{col 32}{space 2} .0809244{col 43}{space 1}   -1.39{col 52}{space 3}0.164{col 60}{space 4} .7346456{col 73}{space 3} 1.053585
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8581234{col 32}{space 2} .1519682{col 43}{space 1}   -0.86{col 52}{space 3}0.388{col 60}{space 4} .6064672{col 73}{space 3} 1.214205
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.109995{col 32}{space 2} .1783381{col 43}{space 1}    0.65{col 52}{space 3}0.516{col 60}{space 4} .8101436{col 73}{space 3} 1.520827
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.093373{col 32}{space 2} .1778908{col 43}{space 1}    0.55{col 52}{space 3}0.583{col 60}{space 4} .7948383{col 73}{space 3} 1.504036
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8159951{col 32}{space 2}  .095382{col 43}{space 1}   -1.74{col 52}{space 3}0.082{col 60}{space 4} .6489186{col 73}{space 3} 1.026089
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9491771{col 32}{space 2} .0689106{col 43}{space 1}   -0.72{col 52}{space 3}0.472{col 60}{space 4} .8232841{col 73}{space 3} 1.094321
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9622734{col 32}{space 2} .0332081{col 43}{space 1}   -1.11{col 52}{space 3}0.265{col 60}{space 4} .8993391{col 73}{space 3} 1.029612
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 7.671004{col 32}{space 2} 12.22791{col 43}{space 1}    1.28{col 52}{space 3}0.201{col 60}{space 4} .3372876{col 73}{space 3} 174.4633
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       184
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.00
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0014
{txt}Log likelihood = {res}-112.72202{txt}{col 49}Pseudo R2{col 67}= {res}    0.1069

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.473361{col 32}{space 2} 1.145143{col 43}{space 1}    3.78{col 52}{space 3}0.000{col 60}{space 4} 1.820181{col 73}{space 3}  6.62804
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8103107{col 32}{space 2} .2565933{col 43}{space 1}   -0.66{col 52}{space 3}0.507{col 60}{space 4}  .435622{col 73}{space 3} 1.507278
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  .907711{col 32}{space 2} .0664507{col 43}{space 1}   -1.32{col 52}{space 3}0.186{col 60}{space 4} .7863824{col 73}{space 3} 1.047759
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .960462{col 32}{space 2} .1858234{col 43}{space 1}   -0.21{col 52}{space 3}0.835{col 60}{space 4} .6573485{col 73}{space 3} 1.403346
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.115152{col 32}{space 2} .1485636{col 43}{space 1}    0.82{col 52}{space 3}0.413{col 60}{space 4} .8588847{col 73}{space 3} 1.447883
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  1.00457{col 32}{space 2} .1529491{col 43}{space 1}    0.03{col 52}{space 3}0.976{col 60}{space 4} .7453868{col 73}{space 3} 1.353874
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8442888{col 32}{space 2} .0998613{col 43}{space 1}   -1.43{col 52}{space 3}0.152{col 60}{space 4} .6695948{col 73}{space 3}  1.06456
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9119902{col 32}{space 2} .0669717{col 43}{space 1}   -1.25{col 52}{space 3}0.210{col 60}{space 4}  .789737{col 73}{space 3} 1.053168
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9447388{col 32}{space 2} .0268967{col 43}{space 1}   -2.00{col 52}{space 3}0.046{col 60}{space 4} .8934662{col 73}{space 3} .9989538
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 10.40615{col 32}{space 2} 14.88328{col 43}{space 1}    1.64{col 52}{space 3}0.101{col 60}{space 4} .6307665{col 73}{space 3} 171.6768
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     55.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-94.559815{txt}{col 49}Pseudo R2{col 67}= {res}    0.2279

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.356719{col 32}{space 2} 2.413134{col 43}{space 1}    4.87{col 52}{space 3}0.000{col 60}{space 4}  3.02065{col 73}{space 3} 13.37721
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.036059{col 32}{space 2} .7551281{col 43}{space 1}    1.92{col 52}{space 3}0.055{col 60}{space 4} .9842354{col 73}{space 3} 4.211935
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.049814{col 32}{space 2} .1124282{col 43}{space 1}    0.45{col 52}{space 3}0.650{col 60}{space 4} .8510486{col 73}{space 3} 1.295002
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.469932{col 32}{space 2} .3303543{col 43}{space 1}    1.71{col 52}{space 3}0.087{col 60}{space 4} .9462306{col 73}{space 3}  2.28348
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.003154{col 32}{space 2} .1611556{col 43}{space 1}    0.02{col 52}{space 3}0.984{col 60}{space 4} .7321882{col 73}{space 3} 1.374397
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.073704{col 32}{space 2} .1827728{col 43}{space 1}    0.42{col 52}{space 3}0.676{col 60}{space 4} .7691087{col 73}{space 3} 1.498931
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9365386{col 32}{space 2} .1199133{col 43}{space 1}   -0.51{col 52}{space 3}0.609{col 60}{space 4} .7286833{col 73}{space 3} 1.203684
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.119676{col 32}{space 2} .0821765{col 43}{space 1}    1.54{col 52}{space 3}0.124{col 60}{space 4} .9696615{col 73}{space 3} 1.292899
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8437385{col 32}{space 2} .0325196{col 43}{space 1}   -4.41{col 52}{space 3}0.000{col 60}{space 4} .7823492{col 73}{space 3}  .909945
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0899254{col 32}{space 2} .1543887{col 43}{space 1}   -1.40{col 52}{space 3}0.161{col 60}{space 4} .0031081{col 73}{space 3}  2.60178
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.52
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-101.21452{txt}{col 49}Pseudo R2{col 67}= {res}    0.1770

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.077385{col 32}{space 2} 2.109874{col 43}{space 1}    5.20{col 52}{space 3}0.000{col 60}{space 4} 3.077562{col 73}{space 3} 12.00126
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.387266{col 32}{space 2} .5045949{col 43}{space 1}    0.90{col 52}{space 3}0.368{col 60}{space 4}  .680063{col 73}{space 3} 2.829893
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9199704{col 32}{space 2} .0881526{col 43}{space 1}   -0.87{col 52}{space 3}0.384{col 60}{space 4} .7624488{col 73}{space 3} 1.110036
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .982262{col 32}{space 2} .1839983{col 43}{space 1}   -0.10{col 52}{space 3}0.924{col 60}{space 4} .6804237{col 73}{space 3} 1.417997
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.033411{col 32}{space 2} .1652443{col 43}{space 1}    0.21{col 52}{space 3}0.837{col 60}{space 4} .7553777{col 73}{space 3} 1.413779
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6581003{col 32}{space 2} .1059579{col 43}{space 1}   -2.60{col 52}{space 3}0.009{col 60}{space 4} .4800028{col 73}{space 3}  .902278
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.024225{col 32}{space 2} .1152067{col 43}{space 1}    0.21{col 52}{space 3}0.831{col 60}{space 4} .8215812{col 73}{space 3}  1.27685
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.020268{col 32}{space 2} .0853872{col 43}{space 1}    0.24{col 52}{space 3}0.811{col 60}{space 4}  .865917{col 73}{space 3} 1.202132
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9300713{col 32}{space 2} .0330021{col 43}{space 1}   -2.04{col 52}{space 3}0.041{col 60}{space 4} .8675863{col 73}{space 3} .9970565
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 2.137361{col 32}{space 2} 3.509383{col 43}{space 1}    0.46{col 52}{space 3}0.644{col 60}{space 4} .0855598{col 73}{space 3} 53.39319
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       182
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     37.85
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-107.12829{txt}{col 49}Pseudo R2{col 67}= {res}    0.1501

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.654827{col 32}{space 2} 1.608705{col 43}{space 1}    4.45{col 52}{space 3}0.000{col 60}{space 4} 2.364442{col 73}{space 3} 9.163857
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8753992{col 32}{space 2} .2962724{col 43}{space 1}   -0.39{col 52}{space 3}0.694{col 60}{space 4} .4509447{col 73}{space 3} 1.699374
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.175611{col 32}{space 2} .0917404{col 43}{space 1}    2.07{col 52}{space 3}0.038{col 60}{space 4} 1.008879{col 73}{space 3} 1.369898
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.118032{col 32}{space 2} .2278461{col 43}{space 1}    0.55{col 52}{space 3}0.584{col 60}{space 4} .7498706{col 73}{space 3}  1.66695
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9794496{col 32}{space 2} .1414504{col 43}{space 1}   -0.14{col 52}{space 3}0.886{col 60}{space 4} .7379944{col 73}{space 3} 1.299904
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.104083{col 32}{space 2}  .166837{col 43}{space 1}    0.66{col 52}{space 3}0.512{col 60}{space 4} .8210648{col 73}{space 3} 1.484657
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .949183{col 32}{space 2} .0997271{col 43}{space 1}   -0.50{col 52}{space 3}0.620{col 60}{space 4} .7725336{col 73}{space 3} 1.166226
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.091672{col 32}{space 2} .0843748{col 43}{space 1}    1.13{col 52}{space 3}0.256{col 60}{space 4} .9382168{col 73}{space 3} 1.270226
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8951679{col 32}{space 2} .0330876{col 43}{space 1}   -3.00{col 52}{space 3}0.003{col 60}{space 4} .8326108{col 73}{space 3} .9624253
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}   .28449{col 32}{space 2} .3771015{col 43}{space 1}   -0.95{col 52}{space 3}0.343{col 60}{space 4} .0211724{col 73}{space 3}  3.82265
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       185
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0010
{txt}Log likelihood = {res} -113.7461{txt}{col 49}Pseudo R2{col 67}= {res}    0.1087

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.031734{col 32}{space 2} 1.003915{col 43}{space 1}    3.35{col 52}{space 3}0.001{col 60}{space 4} 1.584266{col 73}{space 3} 5.801685
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.582027{col 32}{space 2}  .902426{col 43}{space 1}    2.71{col 52}{space 3}0.007{col 60}{space 4} 1.301558{col 73}{space 3}  5.12222
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.123765{col 32}{space 2}  .092674{col 43}{space 1}    1.41{col 52}{space 3}0.157{col 60}{space 4} .9560465{col 73}{space 3} 1.320906
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8763467{col 32}{space 2} .1637817{col 43}{space 1}   -0.71{col 52}{space 3}0.480{col 60}{space 4} .6075664{col 73}{space 3} 1.264032
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.058459{col 32}{space 2} .1533244{col 43}{space 1}    0.39{col 52}{space 3}0.695{col 60}{space 4} .7968419{col 73}{space 3} 1.405969
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8922756{col 32}{space 2} .1358569{col 43}{space 1}   -0.75{col 52}{space 3}0.454{col 60}{space 4}  .662058{col 73}{space 3} 1.202547
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8423718{col 32}{space 2}   .09355{col 43}{space 1}   -1.54{col 52}{space 3}0.122{col 60}{space 4} .6775998{col 73}{space 3} 1.047211
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.042347{col 32}{space 2} .0715788{col 43}{space 1}    0.60{col 52}{space 3}0.546{col 60}{space 4} .9110865{col 73}{space 3} 1.192518
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9647727{col 32}{space 2} .0305697{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .9066797{col 73}{space 3} 1.026588
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4241135{col 32}{space 2} .5182171{col 43}{space 1}   -0.70{col 52}{space 3}0.483{col 60}{space 4} .0386735{col 73}{space 3} 4.651047
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       186
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     29.89
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0005
{txt}Log likelihood = {res}-113.45137{txt}{col 49}Pseudo R2{col 67}= {res}    0.1164

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.154965{col 32}{space 2} 1.042456{col 43}{space 1}    3.48{col 52}{space 3}0.001{col 60}{space 4} 1.650983{col 73}{space 3} 6.029017
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8806021{col 32}{space 2} .2849631{col 43}{space 1}   -0.39{col 52}{space 3}0.694{col 60}{space 4} .4670149{col 73}{space 3} 1.660461
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9394681{col 32}{space 2} .0812119{col 43}{space 1}   -0.72{col 52}{space 3}0.470{col 60}{space 4} .7930494{col 73}{space 3}  1.11292
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.129275{col 32}{space 2} .2113699{col 43}{space 1}    0.65{col 52}{space 3}0.516{col 60}{space 4} .7824878{col 73}{space 3} 1.629753
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.090532{col 32}{space 2}  .170793{col 43}{space 1}    0.55{col 52}{space 3}0.580{col 60}{space 4} .8022837{col 73}{space 3} 1.482343
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.145941{col 32}{space 2} .1926415{col 43}{space 1}    0.81{col 52}{space 3}0.418{col 60}{space 4} .8242684{col 73}{space 3} 1.593147
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7995383{col 32}{space 2} .0945585{col 43}{space 1}   -1.89{col 52}{space 3}0.059{col 60}{space 4} .6341189{col 73}{space 3}  1.00811
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9536052{col 32}{space 2} .0755007{col 43}{space 1}   -0.60{col 52}{space 3}0.548{col 60}{space 4} .8165365{col 73}{space 3} 1.113683
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .915094{col 32}{space 2} .0285872{col 43}{space 1}   -2.84{col 52}{space 3}0.005{col 60}{space 4}  .860745{col 73}{space 3} .9728747
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  5.17465{col 32}{space 2}  7.77313{col 43}{space 1}    1.09{col 52}{space 3}0.274{col 60}{space 4}  .272423{col 73}{space 3} 98.29201
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. *Table 12 Venezuela 
. 
. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       192
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     46.51
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-95.993068{txt}{col 49}Pseudo R2{col 67}= {res}    0.1950

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.217065{col 32}{space 2} 2.807097{col 43}{space 1}    5.08{col 52}{space 3}0.000{col 60}{space 4} 3.367313{col 73}{space 3} 15.46813
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.529711{col 32}{space 2} .5517381{col 43}{space 1}    1.18{col 52}{space 3}0.239{col 60}{space 4} .7543917{col 73}{space 3} 3.101857
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.138255{col 32}{space 2} .0985333{col 43}{space 1}    1.50{col 52}{space 3}0.135{col 60}{space 4} .9606279{col 73}{space 3} 1.348727
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.035171{col 32}{space 2} .1902148{col 43}{space 1}    0.19{col 52}{space 3}0.851{col 60}{space 4} .7221075{col 73}{space 3} 1.483959
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8451289{col 32}{space 2} .1366566{col 43}{space 1}   -1.04{col 52}{space 3}0.298{col 60}{space 4} .6155798{col 73}{space 3} 1.160277
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.056976{col 32}{space 2} .1825568{col 43}{space 1}    0.32{col 52}{space 3}0.748{col 60}{space 4} .7534406{col 73}{space 3} 1.482796
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9395264{col 32}{space 2} .1103656{col 43}{space 1}   -0.53{col 52}{space 3}0.595{col 60}{space 4} .7463094{col 73}{space 3} 1.182767
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9125926{col 32}{space 2} .0683348{col 43}{space 1}   -1.22{col 52}{space 3}0.222{col 60}{space 4} .7880233{col 73}{space 3} 1.056854
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9298999{col 32}{space 2} .0313638{col 43}{space 1}   -2.15{col 52}{space 3}0.031{col 60}{space 4} .8704157{col 73}{space 3} .9934492
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.504579{col 32}{space 2} 2.352808{col 43}{space 1}    0.26{col 52}{space 3}0.794{col 60}{space 4} .0701998{col 73}{space 3} 32.24736
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       190
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     27.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0010
{txt}Log likelihood = {res}-114.35785{txt}{col 49}Pseudo R2{col 67}= {res}    0.1084

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 2.972443{col 32}{space 2} .9962203{col 43}{space 1}    3.25{col 52}{space 3}0.001{col 60}{space 4} 1.541103{col 73}{space 3} 5.733178
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  .968977{col 32}{space 2} .3095882{col 43}{space 1}   -0.10{col 52}{space 3}0.921{col 60}{space 4} .5180295{col 73}{space 3} 1.812476
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.03465{col 32}{space 2} .0770117{col 43}{space 1}    0.46{col 52}{space 3}0.647{col 60}{space 4}  .894203{col 73}{space 3} 1.197155
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.480554{col 32}{space 2} .3009198{col 43}{space 1}    1.93{col 52}{space 3}0.054{col 60}{space 4} .9940748{col 73}{space 3} 2.205105
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.030607{col 32}{space 2} .1331418{col 43}{space 1}    0.23{col 52}{space 3}0.815{col 60}{space 4}  .800071{col 73}{space 3} 1.327572
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  .876997{col 32}{space 2} .1359052{col 43}{space 1}   -0.85{col 52}{space 3}0.397{col 60}{space 4} .6472772{col 73}{space 3} 1.188245
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.134251{col 32}{space 2} .1295897{col 43}{space 1}    1.10{col 52}{space 3}0.270{col 60}{space 4} .9066884{col 73}{space 3} 1.418927
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9221836{col 32}{space 2} .0667444{col 43}{space 1}   -1.12{col 52}{space 3}0.263{col 60}{space 4} .8002219{col 73}{space 3} 1.062734
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9075296{col 32}{space 2} .0266896{col 43}{space 1}   -3.30{col 52}{space 3}0.001{col 60}{space 4} .8566981{col 73}{space 3} .9613772
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4457066{col 32}{space 2} .6283887{col 43}{space 1}   -0.57{col 52}{space 3}0.567{col 60}{space 4} .0281167{col 73}{space 3} 7.065343
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       179
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     48.00
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.712117{txt}{col 49}Pseudo R2{col 67}= {res}    0.1972

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.470954{col 32}{space 2}   2.0094{col 43}{space 1}    4.63{col 52}{space 3}0.000{col 60}{space 4} 2.663357{col 73}{space 3}  11.2382
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.463448{col 32}{space 2} .5303485{col 43}{space 1}    1.05{col 52}{space 3}0.293{col 60}{space 4} .7192912{col 73}{space 3} 2.977486
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9363689{col 32}{space 2} .0926976{col 43}{space 1}   -0.66{col 52}{space 3}0.507{col 60}{space 4} .7712243{col 73}{space 3} 1.136876
{txt}{space 9}education {c |}{col 20}{res}{space 2}  1.58828{col 32}{space 2} .3442894{col 43}{space 1}    2.13{col 52}{space 3}0.033{col 60}{space 4} 1.038516{col 73}{space 3} 2.429075
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8399028{col 32}{space 2} .1336863{col 43}{space 1}   -1.10{col 52}{space 3}0.273{col 60}{space 4} .6148148{col 73}{space 3} 1.147397
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9312127{col 32}{space 2} .1597112{col 43}{space 1}   -0.42{col 52}{space 3}0.678{col 60}{space 4} .6653656{col 73}{space 3} 1.303279
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9629816{col 32}{space 2} .1267618{col 43}{space 1}   -0.29{col 52}{space 3}0.774{col 60}{space 4} .7439956{col 73}{space 3} 1.246423
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9202885{col 32}{space 2}  .067641{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .7968212{col 73}{space 3} 1.062887
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8706268{col 32}{space 2} .0312841{col 43}{space 1}   -3.86{col 52}{space 3}0.000{col 60}{space 4} .8114203{col 73}{space 3} .9341533
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.673689{col 32}{space 2}  2.76693{col 43}{space 1}    0.31{col 52}{space 3}0.755{col 60}{space 4} .0655352{col 73}{space 3} 42.74396
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       181
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     38.03
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-105.22168{txt}{col 49}Pseudo R2{col 67}= {res}    0.1531

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.832336{col 32}{space 2} 1.306681{col 43}{space 1}    3.94{col 52}{space 3}0.000{col 60}{space 4} 1.964428{col 73}{space 3} 7.476374
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.509994{col 32}{space 2} .5369581{col 43}{space 1}    1.16{col 52}{space 3}0.246{col 60}{space 4} .7521173{col 73}{space 3} 3.031551
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.114003{col 32}{space 2} .1044855{col 43}{space 1}    1.15{col 52}{space 3}0.250{col 60}{space 4} .9269364{col 73}{space 3} 1.338823
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.333412{col 32}{space 2} .2521754{col 43}{space 1}    1.52{col 52}{space 3}0.128{col 60}{space 4} .9204178{col 73}{space 3} 1.931719
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.270758{col 32}{space 2}  .201306{col 43}{space 1}    1.51{col 52}{space 3}0.130{col 60}{space 4} .9315804{col 73}{space 3} 1.733425
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8398464{col 32}{space 2} .1280347{col 43}{space 1}   -1.14{col 52}{space 3}0.252{col 60}{space 4} .6229226{col 73}{space 3} 1.132311
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9597271{col 32}{space 2} .1035688{col 43}{space 1}   -0.38{col 52}{space 3}0.703{col 60}{space 4} .7767665{col 73}{space 3} 1.185783
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9761312{col 32}{space 2} .0798177{col 43}{space 1}   -0.30{col 52}{space 3}0.768{col 60}{space 4} .8315837{col 73}{space 3} 1.145804
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9017862{col 32}{space 2}  .031017{col 43}{space 1}   -3.01{col 52}{space 3}0.003{col 60}{space 4} .8429979{col 73}{space 3} .9646743
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3098792{col 32}{space 2} .5219658{col 43}{space 1}   -0.70{col 52}{space 3}0.487{col 60}{space 4} .0114134{col 73}{space 3}  8.41339
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       183
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     52.71
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -99.04388{txt}{col 49}Pseudo R2{col 67}= {res}    0.2102

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.076893{col 32}{space 2} 2.672039{col 43}{space 1}    5.18{col 52}{space 3}0.000{col 60}{space 4} 3.376389{col 73}{space 3} 14.83313
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.285352{col 32}{space 2} .4587463{col 43}{space 1}    0.70{col 52}{space 3}0.482{col 60}{space 4} .6385953{col 73}{space 3} 2.587133
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.056783{col 32}{space 2} .0873257{col 43}{space 1}    0.67{col 52}{space 3}0.504{col 60}{space 4} .8987693{col 73}{space 3} 1.242578
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.080318{col 32}{space 2} .2360767{col 43}{space 1}    0.35{col 52}{space 3}0.724{col 60}{space 4} .7039511{col 73}{space 3} 1.657909
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.405337{col 32}{space 2} .2227165{col 43}{space 1}    2.15{col 52}{space 3}0.032{col 60}{space 4} 1.030108{col 73}{space 3} 1.917247
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7175255{col 32}{space 2} .1167154{col 43}{space 1}   -2.04{col 52}{space 3}0.041{col 60}{space 4} .5216481{col 73}{space 3} .9869543
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.084371{col 32}{space 2} .1186768{col 43}{space 1}    0.74{col 52}{space 3}0.459{col 60}{space 4} .8750235{col 73}{space 3} 1.343804
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.004182{col 32}{space 2} .0819006{col 43}{space 1}    0.05{col 52}{space 3}0.959{col 60}{space 4} .8558323{col 73}{space 3} 1.178246
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8878996{col 32}{space 2} .0330052{col 43}{space 1}   -3.20{col 52}{space 3}0.001{col 60}{space 4} .8255109{col 73}{space 3} .9550033
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4798766{col 32}{space 2} .6611724{col 43}{space 1}   -0.53{col 52}{space 3}0.594{col 60}{space 4} .0322364{col 73}{space 3} 7.143519
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       192
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     50.80
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-102.11991{txt}{col 49}Pseudo R2{col 67}= {res}    0.1992

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.493093{col 32}{space 2}  2.43046{col 43}{space 1}    5.00{col 52}{space 3}0.000{col 60}{space 4} 3.117701{col 73}{space 3} 13.52287
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.331498{col 32}{space 2} .4817224{col 43}{space 1}    0.79{col 52}{space 3}0.429{col 60}{space 4} .6552162{col 73}{space 3} 2.705806
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.068793{col 32}{space 2} .0919392{col 43}{space 1}    0.77{col 52}{space 3}0.439{col 60}{space 4} .9029672{col 73}{space 3} 1.265072
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9936061{col 32}{space 2} .2069957{col 43}{space 1}   -0.03{col 52}{space 3}0.975{col 60}{space 4} .6605191{col 73}{space 3} 1.494662
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.155317{col 32}{space 2} .1739254{col 43}{space 1}    0.96{col 52}{space 3}0.338{col 60}{space 4} .8601184{col 73}{space 3} 1.551829
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6451252{col 32}{space 2} .1134377{col 43}{space 1}   -2.49{col 52}{space 3}0.013{col 60}{space 4} .4570568{col 73}{space 3} .9105794
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9002065{col 32}{space 2} .1092572{col 43}{space 1}   -0.87{col 52}{space 3}0.386{col 60}{space 4} .7096311{col 73}{space 3} 1.141962
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.03884{col 32}{space 2}  .073772{col 43}{space 1}    0.54{col 52}{space 3}0.592{col 60}{space 4} .9038611{col 73}{space 3} 1.193976
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8929815{col 32}{space 2}  .031831{col 43}{space 1}   -3.18{col 52}{space 3}0.001{col 60}{space 4} .8327233{col 73}{space 3} .9576002
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.068669{col 32}{space 2} 6.770469{col 43}{space 1}    1.22{col 52}{space 3}0.224{col 60}{space 4} .3697451{col 73}{space 3} 69.48409
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       190
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     60.45
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.230595{txt}{col 49}Pseudo R2{col 67}= {res}    0.2371

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.572558{col 32}{space 2} 1.736374{col 43}{space 1}    4.00{col 52}{space 3}0.000{col 60}{space 4} 2.172329{col 73}{space 3} 9.624822
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.445764{col 32}{space 2} .5257147{col 43}{space 1}    1.01{col 52}{space 3}0.311{col 60}{space 4} .7088914{col 73}{space 3} 2.948593
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.096994{col 32}{space 2} .1047326{col 43}{space 1}    0.97{col 52}{space 3}0.332{col 60}{space 4} .9097839{col 73}{space 3} 1.322728
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.382424{col 32}{space 2} .2841845{col 43}{space 1}    1.58{col 52}{space 3}0.115{col 60}{space 4}  .923975{col 73}{space 3} 2.068343
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9473586{col 32}{space 2} .1615561{col 43}{space 1}   -0.32{col 52}{space 3}0.751{col 60}{space 4} .6781977{col 73}{space 3} 1.323343
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.143057{col 32}{space 2} .2158065{col 43}{space 1}    0.71{col 52}{space 3}0.479{col 60}{space 4} .7895202{col 73}{space 3} 1.654904
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .6801872{col 32}{space 2} .0891309{col 43}{space 1}   -2.94{col 52}{space 3}0.003{col 60}{space 4} .5261239{col 73}{space 3} .8793645
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.035375{col 32}{space 2} .0916035{col 43}{space 1}    0.39{col 52}{space 3}0.694{col 60}{space 4} .8705402{col 73}{space 3} 1.231422
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8604814{col 32}{space 2} .0307814{col 43}{space 1}   -4.20{col 52}{space 3}0.000{col 60}{space 4} .8022173{col 73}{space 3} .9229771
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 3.651803{col 32}{space 2} 6.117578{col 43}{space 1}    0.77{col 52}{space 3}0.439{col 60}{space 4} .1369482{col 73}{space 3} 97.37742
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 13 Cameroon 
. 
. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       208
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     97.99
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-94.565628{txt}{col 49}Pseudo R2{col 67}= {res}    0.3413

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 24.36263{col 32}{space 2} 9.623096{col 43}{space 1}    8.08{col 52}{space 3}0.000{col 60}{space 4} 11.23323{col 73}{space 3} 52.83768
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.219324{col 32}{space 2} .8442174{col 43}{space 1}    2.10{col 52}{space 3}0.036{col 60}{space 4} 1.053001{col 73}{space 3} 4.677487
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9328309{col 32}{space 2} .0909512{col 43}{space 1}   -0.71{col 52}{space 3}0.476{col 60}{space 4} .7705673{col 73}{space 3} 1.129263
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.306003{col 32}{space 2}  .259721{col 43}{space 1}    1.34{col 52}{space 3}0.179{col 60}{space 4}   .88444{col 73}{space 3} 1.928503
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.079139{col 32}{space 2} .1813141{col 43}{space 1}    0.45{col 52}{space 3}0.650{col 60}{space 4} .7763552{col 73}{space 3} 1.500009
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7357008{col 32}{space 2} .1302724{col 43}{space 1}   -1.73{col 52}{space 3}0.083{col 60}{space 4} .5199683{col 73}{space 3}  1.04094
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9411302{col 32}{space 2} .1138134{col 43}{space 1}   -0.50{col 52}{space 3}0.616{col 60}{space 4}  .742526{col 73}{space 3} 1.192855
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9011907{col 32}{space 2} .0720813{col 43}{space 1}   -1.30{col 52}{space 3}0.193{col 60}{space 4} .7704311{col 73}{space 3} 1.054143
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.002723{col 32}{space 2} .0342445{col 43}{space 1}    0.08{col 52}{space 3}0.937{col 60}{space 4} .9378022{col 73}{space 3} 1.072138
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2636319{col 32}{space 2} .4317217{col 43}{space 1}   -0.81{col 52}{space 3}0.416{col 60}{space 4} .0106433{col 73}{space 3} 6.530093
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     42.14
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-100.10056{txt}{col 49}Pseudo R2{col 67}= {res}    0.1739

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.306644{col 32}{space 2} 2.649385{col 43}{space 1}    5.48{col 52}{space 3}0.000{col 60}{space 4} 3.589821{col 73}{space 3} 14.87178
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .7357299{col 32}{space 2} .2499451{col 43}{space 1}   -0.90{col 52}{space 3}0.366{col 60}{space 4} .3780462{col 73}{space 3} 1.431832
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.026135{col 32}{space 2} .0815781{col 43}{space 1}    0.32{col 52}{space 3}0.746{col 60}{space 4} .8780787{col 73}{space 3} 1.199155
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8209283{col 32}{space 2} .1696397{col 43}{space 1}   -0.95{col 52}{space 3}0.340{col 60}{space 4} .5475323{col 73}{space 3} 1.230838
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.089115{col 32}{space 2} .1537933{col 43}{space 1}    0.60{col 52}{space 3}0.545{col 60}{space 4} .8258018{col 73}{space 3} 1.436386
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.076067{col 32}{space 2} .1798349{col 43}{space 1}    0.44{col 52}{space 3}0.661{col 60}{space 4} .7755052{col 73}{space 3} 1.493118
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8528897{col 32}{space 2} .1083142{col 43}{space 1}   -1.25{col 52}{space 3}0.210{col 60}{space 4} .6649563{col 73}{space 3} 1.093938
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.004391{col 32}{space 2}  .077559{col 43}{space 1}    0.06{col 52}{space 3}0.955{col 60}{space 4}  .863323{col 73}{space 3}  1.16851
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9553296{col 32}{space 2} .0289639{col 43}{space 1}   -1.51{col 52}{space 3}0.132{col 60}{space 4} .9002152{col 73}{space 3} 1.013818
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 2.426151{col 32}{space 2} 3.640105{col 43}{space 1}    0.59{col 52}{space 3}0.555{col 60}{space 4} .1281763{col 73}{space 3} 45.92279
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       172
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     48.13
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-93.745001{txt}{col 49}Pseudo R2{col 67}= {res}    0.2043

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.928542{col 32}{space 2} 2.973721{col 43}{space 1}    5.52{col 52}{space 3}0.000{col 60}{space 4} 3.801344{col 73}{space 3} 16.53673
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 3.103449{col 32}{space 2} 1.191943{col 43}{space 1}    2.95{col 52}{space 3}0.003{col 60}{space 4} 1.461919{col 73}{space 3} 6.588187
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8894497{col 32}{space 2} .0852786{col 43}{space 1}   -1.22{col 52}{space 3}0.222{col 60}{space 4}  .737072{col 73}{space 3} 1.073329
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.072728{col 32}{space 2} .2400984{col 43}{space 1}    0.31{col 52}{space 3}0.754{col 60}{space 4} .6917885{col 73}{space 3} 1.663435
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9485281{col 32}{space 2} .1503414{col 43}{space 1}   -0.33{col 52}{space 3}0.739{col 60}{space 4} .6952404{col 73}{space 3} 1.294093
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9142241{col 32}{space 2}  .160906{col 43}{space 1}   -0.51{col 52}{space 3}0.610{col 60}{space 4} .6474985{col 73}{space 3} 1.290823
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.065477{col 32}{space 2} .1416258{col 43}{space 1}    0.48{col 52}{space 3}0.633{col 60}{space 4} .8211076{col 73}{space 3} 1.382572
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9306084{col 32}{space 2} .0662197{col 43}{space 1}   -1.01{col 52}{space 3}0.312{col 60}{space 4} .8094642{col 73}{space 3} 1.069883
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9497414{col 32}{space 2} .0321083{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4} .8888501{col 73}{space 3} 1.014804
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1818093{col 32}{space 2} .3027867{col 43}{space 1}   -1.02{col 52}{space 3}0.306{col 60}{space 4} .0069505{col 73}{space 3} 4.755694
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       182
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.31
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-99.609675{txt}{col 49}Pseudo R2{col 67}= {res}    0.1786

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.263459{col 32}{space 2} 2.612172{col 43}{space 1}    5.51{col 52}{space 3}0.000{col 60}{space 4} 3.589419{col 73}{space 3} 14.69815
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.251375{col 32}{space 2}  .459953{col 43}{space 1}    0.61{col 52}{space 3}0.542{col 60}{space 4} .6088659{col 73}{space 3} 2.571896
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.060719{col 32}{space 2} .1075195{col 43}{space 1}    0.58{col 52}{space 3}0.561{col 60}{space 4} .8695978{col 73}{space 3} 1.293845
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9185363{col 32}{space 2}  .168906{col 43}{space 1}   -0.46{col 52}{space 3}0.644{col 60}{space 4} .6405783{col 73}{space 3} 1.317105
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.065234{col 32}{space 2} .1735054{col 43}{space 1}    0.39{col 52}{space 3}0.698{col 60}{space 4} .7741075{col 73}{space 3} 1.465847
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8801174{col 32}{space 2} .1386661{col 43}{space 1}   -0.81{col 52}{space 3}0.418{col 60}{space 4} .6462943{col 73}{space 3} 1.198535
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8771472{col 32}{space 2} .0975042{col 43}{space 1}   -1.18{col 52}{space 3}0.238{col 60}{space 4} .7054275{col 73}{space 3} 1.090668
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9505192{col 32}{space 2} .0798381{col 43}{space 1}   -0.60{col 52}{space 3}0.546{col 60}{space 4} .8062411{col 73}{space 3} 1.120616
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .968223{col 32}{space 2} .0343857{col 43}{space 1}   -0.91{col 52}{space 3}0.363{col 60}{space 4} .9031203{col 73}{space 3} 1.038019
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.012827{col 32}{space 2} 1.708264{col 43}{space 1}    0.01{col 52}{space 3}0.994{col 60}{space 4} .0371427{col 73}{space 3} 27.61833
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       173
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.53
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-99.624631{txt}{col 49}Pseudo R2{col 67}= {res}    0.1690

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.743277{col 32}{space 2} 2.447153{col 43}{space 1}    5.26{col 52}{space 3}0.000{col 60}{space 4} 3.311066{col 73}{space 3} 13.73328
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.217435{col 32}{space 2} .4274589{col 43}{space 1}    0.56{col 52}{space 3}0.575{col 60}{space 4} .6117542{col 73}{space 3} 2.422785
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.116565{col 32}{space 2} .0922123{col 43}{space 1}    1.34{col 52}{space 3}0.182{col 60}{space 4} .9497014{col 73}{space 3} 1.312748
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.037275{col 32}{space 2} .2239673{col 43}{space 1}    0.17{col 52}{space 3}0.865{col 60}{space 4} .6793654{col 73}{space 3} 1.583742
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9760985{col 32}{space 2}  .150424{col 43}{space 1}   -0.16{col 52}{space 3}0.875{col 60}{space 4} .7216344{col 73}{space 3} 1.320292
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9652954{col 32}{space 2} .1523699{col 43}{space 1}   -0.22{col 52}{space 3}0.823{col 60}{space 4} .7084347{col 73}{space 3} 1.315287
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8838868{col 32}{space 2} .0986112{col 43}{space 1}   -1.11{col 52}{space 3}0.269{col 60}{space 4} .7102839{col 73}{space 3}  1.09992
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.082705{col 32}{space 2} .0894833{col 43}{space 1}    0.96{col 52}{space 3}0.336{col 60}{space 4} .9207896{col 73}{space 3} 1.273093
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9342895{col 32}{space 2}  .035165{col 43}{space 1}   -1.81{col 52}{space 3}0.071{col 60}{space 4} .8678481{col 73}{space 3} 1.005817
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4564691{col 32}{space 2} .6265992{col 43}{space 1}   -0.57{col 52}{space 3}0.568{col 60}{space 4} .0309713{col 73}{space 3} 6.727649
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       183
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     54.76
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -92.82474{txt}{col 49}Pseudo R2{col 67}= {res}    0.2278

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  11.7419{col 32}{space 2} 4.749609{col 43}{space 1}    6.09{col 52}{space 3}0.000{col 60}{space 4} 5.314059{col 73}{space 3} 25.94479
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.136561{col 32}{space 2} .8399879{col 43}{space 1}    1.93{col 52}{space 3}0.053{col 60}{space 4} .9887027{col 73}{space 3} 4.617052
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9261747{col 32}{space 2} .0880985{col 43}{space 1}   -0.81{col 52}{space 3}0.420{col 60}{space 4} .7686452{col 73}{space 3} 1.115989
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9560045{col 32}{space 2} .1971779{col 43}{space 1}   -0.22{col 52}{space 3}0.827{col 60}{space 4} .6381135{col 73}{space 3}  1.43226
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.041251{col 32}{space 2} .1835595{col 43}{space 1}    0.23{col 52}{space 3}0.819{col 60}{space 4} .7370535{col 73}{space 3} 1.470996
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7658199{col 32}{space 2} .1303845{col 43}{space 1}   -1.57{col 52}{space 3}0.117{col 60}{space 4} .5485364{col 73}{space 3} 1.069173
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .804841{col 32}{space 2} .0971618{col 43}{space 1}   -1.80{col 52}{space 3}0.072{col 60}{space 4} .6352601{col 73}{space 3} 1.019691
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9562998{col 32}{space 2} .0762132{col 43}{space 1}   -0.56{col 52}{space 3}0.575{col 60}{space 4} .8180064{col 73}{space 3} 1.117973
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.040883{col 32}{space 2} .0371932{col 43}{space 1}    1.12{col 52}{space 3}0.262{col 60}{space 4} .9704799{col 73}{space 3} 1.116394
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9034751{col 32}{space 2} 1.259651{col 43}{space 1}   -0.07{col 52}{space 3}0.942{col 60}{space 4} .0587687{col 73}{space 3} 13.88949
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       177
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     62.73
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-88.228591{txt}{col 49}Pseudo R2{col 67}= {res}    0.2623

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 11.57457{col 32}{space 2} 4.769366{col 43}{space 1}    5.94{col 52}{space 3}0.000{col 60}{space 4} 5.161345{col 73}{space 3} 25.95657
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.558655{col 32}{space 2} 1.016124{col 43}{space 1}    2.37{col 52}{space 3}0.018{col 60}{space 4} 1.174823{col 73}{space 3} 5.572516
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.027269{col 32}{space 2} .1031616{col 43}{space 1}    0.27{col 52}{space 3}0.789{col 60}{space 4} .8437306{col 73}{space 3} 1.250733
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.076394{col 32}{space 2}  .236208{col 43}{space 1}    0.34{col 52}{space 3}0.737{col 60}{space 4} .7001327{col 73}{space 3} 1.654863
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.136153{col 32}{space 2} .2065312{col 43}{space 1}    0.70{col 52}{space 3}0.483{col 60}{space 4} .7956181{col 73}{space 3} 1.622442
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.091354{col 32}{space 2} .2137736{col 43}{space 1}    0.45{col 52}{space 3}0.655{col 60}{space 4} .7434174{col 73}{space 3} 1.602132
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8327701{col 32}{space 2} .1165711{col 43}{space 1}   -1.31{col 52}{space 3}0.191{col 60}{space 4} .6329568{col 73}{space 3} 1.095661
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9750369{col 32}{space 2} .0921875{col 43}{space 1}   -0.27{col 52}{space 3}0.789{col 60}{space 4} .8101062{col 73}{space 3} 1.173546
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8766506{col 32}{space 2} .0338429{col 43}{space 1}   -3.41{col 52}{space 3}0.001{col 60}{space 4} .8127671{col 73}{space 3} .9455553
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2652758{col 32}{space 2} .4704159{col 43}{space 1}   -0.75{col 52}{space 3}0.454{col 60}{space 4} .0082083{col 73}{space 3} 8.573158
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 14 Trade War 
. 
. 
. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       194
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     67.15
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-97.537948{txt}{col 49}Pseudo R2{col 67}= {res}    0.2561

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  13.2517{col 32}{space 2}  5.05979{col 43}{space 1}    6.77{col 52}{space 3}0.000{col 60}{space 4} 6.269948{col 73}{space 3}  28.0078
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.158026{col 32}{space 2} .4209833{col 43}{space 1}    0.40{col 52}{space 3}0.687{col 60}{space 4} .5679064{col 73}{space 3} 2.361349
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8789502{col 32}{space 2} .0801353{col 43}{space 1}   -1.42{col 52}{space 3}0.157{col 60}{space 4}  .735121{col 73}{space 3}  1.05092
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9843012{col 32}{space 2} .1897952{col 43}{space 1}   -0.08{col 52}{space 3}0.935{col 60}{space 4}  .674524{col 73}{space 3} 1.436344
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8369837{col 32}{space 2} .1362673{col 43}{space 1}   -1.09{col 52}{space 3}0.274{col 60}{space 4}  .608324{col 73}{space 3} 1.151593
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9247195{col 32}{space 2} .1608677{col 43}{space 1}   -0.45{col 52}{space 3}0.653{col 60}{space 4} .6575545{col 73}{space 3} 1.300434
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  1.03504{col 32}{space 2} .1371162{col 43}{space 1}    0.26{col 52}{space 3}0.795{col 60}{space 4}  .798353{col 73}{space 3} 1.341898
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8161276{col 32}{space 2} .0637278{col 43}{space 1}   -2.60{col 52}{space 3}0.009{col 60}{space 4} .7003118{col 73}{space 3} .9510967
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.026517{col 32}{space 2} .0338476{col 43}{space 1}    0.79{col 52}{space 3}0.427{col 60}{space 4} .9622748{col 73}{space 3} 1.095047
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.587221{col 32}{space 2} 2.538975{col 43}{space 1}    0.29{col 52}{space 3}0.773{col 60}{space 4} .0690279{col 73}{space 3} 36.49639
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       199
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     23.87
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0045
{txt}Log likelihood = {res}-119.39346{txt}{col 49}Pseudo R2{col 67}= {res}    0.0909

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.395955{col 32}{space 2} 1.093667{col 43}{space 1}    3.80{col 52}{space 3}0.000{col 60}{space 4} 1.806477{col 73}{space 3} 6.383976
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.13153{col 32}{space 2}  .351991{col 43}{space 1}    0.40{col 52}{space 3}0.691{col 60}{space 4} .6150047{col 73}{space 3} 2.081871
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.077423{col 32}{space 2} .0779725{col 43}{space 1}    1.03{col 52}{space 3}0.303{col 60}{space 4} .9349434{col 73}{space 3} 1.241616
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.288638{col 32}{space 2} .2480536{col 43}{space 1}    1.32{col 52}{space 3}0.188{col 60}{space 4}  .883651{col 73}{space 3} 1.879235
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8639891{col 32}{space 2} .1095001{col 43}{space 1}   -1.15{col 52}{space 3}0.249{col 60}{space 4} .6739517{col 73}{space 3} 1.107612
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.217183{col 32}{space 2} .1840154{col 43}{space 1}    1.30{col 52}{space 3}0.194{col 60}{space 4}  .905045{col 73}{space 3} 1.636974
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8123984{col 32}{space 2} .0948927{col 43}{space 1}   -1.78{col 52}{space 3}0.075{col 60}{space 4} .6461657{col 73}{space 3} 1.021396
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9552898{col 32}{space 2} .0680455{col 43}{space 1}   -0.64{col 52}{space 3}0.521{col 60}{space 4} .8308141{col 73}{space 3} 1.098415
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9603271{col 32}{space 2} .0273373{col 43}{space 1}   -1.42{col 52}{space 3}0.155{col 60}{space 4} .9082143{col 73}{space 3}  1.01543
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4578877{col 32}{space 2} .6276015{col 43}{space 1}   -0.57{col 52}{space 3}0.569{col 60}{space 4} .0311935{col 73}{space 3} 6.721313
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       196
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     35.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-113.00196{txt}{col 49}Pseudo R2{col 67}= {res}    0.1366

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.044344{col 32}{space 2} 2.088006{col 43}{space 1}    5.21{col 52}{space 3}0.000{col 60}{space 4} 3.071167{col 73}{space 3} 11.89583
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.671098{col 32}{space 2} .5701107{col 43}{space 1}    1.51{col 52}{space 3}0.132{col 60}{space 4}  .856262{col 73}{space 3} 3.261349
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.184375{col 32}{space 2} .1075121{col 43}{space 1}    1.86{col 52}{space 3}0.062{col 60}{space 4}  .991336{col 73}{space 3} 1.415003
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.039752{col 32}{space 2} .2127751{col 43}{space 1}    0.19{col 52}{space 3}0.849{col 60}{space 4} .6962089{col 73}{space 3} 1.552816
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9538544{col 32}{space 2} .1408783{col 43}{space 1}   -0.32{col 52}{space 3}0.749{col 60}{space 4} .7141098{col 73}{space 3} 1.274087
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.245761{col 32}{space 2} .2035119{col 43}{space 1}    1.35{col 52}{space 3}0.179{col 60}{space 4} .9044394{col 73}{space 3} 1.715892
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}    .9283{col 32}{space 2} .1115624{col 43}{space 1}   -0.62{col 52}{space 3}0.536{col 60}{space 4} .7334856{col 73}{space 3} 1.174857
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.03918{col 32}{space 2} .0676605{col 43}{space 1}    0.59{col 52}{space 3}0.555{col 60}{space 4} .9146805{col 73}{space 3} 1.180625
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.002494{col 32}{space 2} .0316734{col 43}{space 1}    0.08{col 52}{space 3}0.937{col 60}{space 4} .9422977{col 73}{space 3} 1.066535
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0240081{col 32}{space 2}  .038052{col 43}{space 1}   -2.35{col 52}{space 3}0.019{col 60}{space 4} .0010746{col 73}{space 3} .5363935
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       191
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     38.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -106.6578{txt}{col 49}Pseudo R2{col 67}= {res}    0.1537

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  6.53136{col 32}{space 2} 2.270108{col 43}{space 1}    5.40{col 52}{space 3}0.000{col 60}{space 4} 3.304845{col 73}{space 3} 12.90792
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.095019{col 32}{space 2} .3833284{col 43}{space 1}    0.26{col 52}{space 3}0.795{col 60}{space 4} .5513731{col 73}{space 3} 2.174693
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9686944{col 32}{space 2} .0872448{col 43}{space 1}   -0.35{col 52}{space 3}0.724{col 60}{space 4} .8119399{col 73}{space 3} 1.155712
{txt}{space 9}education {c |}{col 20}{res}{space 2} .7519758{col 32}{space 2} .1429909{col 43}{space 1}   -1.50{col 52}{space 3}0.134{col 60}{space 4}  .518018{col 73}{space 3} 1.091598
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.049466{col 32}{space 2} .1613832{col 43}{space 1}    0.31{col 52}{space 3}0.754{col 60}{space 4} .7763783{col 73}{space 3}  1.41861
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.136194{col 32}{space 2} .1816329{col 43}{space 1}    0.80{col 52}{space 3}0.424{col 60}{space 4} .8305747{col 73}{space 3} 1.554269
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8556894{col 32}{space 2} .1001598{col 43}{space 1}   -1.33{col 52}{space 3}0.183{col 60}{space 4} .6802705{col 73}{space 3} 1.076343
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9384543{col 32}{space 2} .0789707{col 43}{space 1}   -0.75{col 52}{space 3}0.450{col 60}{space 4} .7957648{col 73}{space 3}  1.10673
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.077849{col 32}{space 2} .0351766{col 43}{space 1}    2.30{col 52}{space 3}0.022{col 60}{space 4} 1.011063{col 73}{space 3} 1.149047
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9268269{col 32}{space 2} 1.519792{col 43}{space 1}   -0.05{col 52}{space 3}0.963{col 60}{space 4} .0372577{col 73}{space 3} 23.05587
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       194
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     52.90
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-104.27386{txt}{col 49}Pseudo R2{col 67}= {res}    0.2023

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 10.23812{col 32}{space 2} 3.663489{col 43}{space 1}    6.50{col 52}{space 3}0.000{col 60}{space 4} 5.077336{col 73}{space 3} 20.64449
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .6087558{col 32}{space 2} .2138907{col 43}{space 1}   -1.41{col 52}{space 3}0.158{col 60}{space 4} .3057506{col 73}{space 3} 1.212045
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9985486{col 32}{space 2} .0812074{col 43}{space 1}   -0.02{col 52}{space 3}0.986{col 60}{space 4}  .851422{col 73}{space 3} 1.171099
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9637399{col 32}{space 2} .2108336{col 43}{space 1}   -0.17{col 52}{space 3}0.866{col 60}{space 4}  .627691{col 73}{space 3} 1.479701
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9663532{col 32}{space 2} .1463332{col 43}{space 1}   -0.23{col 52}{space 3}0.821{col 60}{space 4}  .718191{col 73}{space 3} 1.300265
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.064127{col 32}{space 2} .1665463{col 43}{space 1}    0.40{col 52}{space 3}0.691{col 60}{space 4} .7830182{col 73}{space 3} 1.446155
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.061492{col 32}{space 2} .1180912{col 43}{space 1}    0.54{col 52}{space 3}0.592{col 60}{space 4}  .853533{col 73}{space 3} 1.320119
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.000204{col 32}{space 2} .0819512{col 43}{space 1}    0.00{col 52}{space 3}0.998{col 60}{space 4} .8518163{col 73}{space 3} 1.174442
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9919541{col 32}{space 2} .0325658{col 43}{space 1}   -0.25{col 52}{space 3}0.806{col 60}{space 4} .9301364{col 73}{space 3}  1.05788
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2830306{col 32}{space 2} .3989371{col 43}{space 1}   -0.90{col 52}{space 3}0.371{col 60}{space 4} .0178669{col 73}{space 3} 4.483513
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       207
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     34.68
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-119.28056{txt}{col 49}Pseudo R2{col 67}= {res}    0.1269

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  5.15864{col 32}{space 2}  1.68039{col 43}{space 1}    5.04{col 52}{space 3}0.000{col 60}{space 4} 2.724347{col 73}{space 3} 9.768052
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.064186{col 32}{space 2} .3492482{col 43}{space 1}    0.19{col 52}{space 3}0.850{col 60}{space 4} .5593291{col 73}{space 3} 2.024733
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.075366{col 32}{space 2} .0950877{col 43}{space 1}    0.82{col 52}{space 3}0.411{col 60}{space 4} .9042526{col 73}{space 3} 1.278858
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.082159{col 32}{space 2} .1999986{col 43}{space 1}    0.43{col 52}{space 3}0.669{col 60}{space 4} .7533152{col 73}{space 3} 1.554553
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  1.03224{col 32}{space 2}  .140454{col 43}{space 1}    0.23{col 52}{space 3}0.816{col 60}{space 4} .7906057{col 73}{space 3} 1.347725
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9917287{col 32}{space 2} .1547274{col 43}{space 1}   -0.05{col 52}{space 3}0.958{col 60}{space 4} .7304496{col 73}{space 3} 1.346466
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.085908{col 32}{space 2} .1236123{col 43}{space 1}    0.72{col 52}{space 3}0.469{col 60}{space 4} .8687567{col 73}{space 3} 1.357338
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .945826{col 32}{space 2} .0634783{col 43}{space 1}   -0.83{col 52}{space 3}0.407{col 60}{space 4} .8292464{col 73}{space 3} 1.078795
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9660607{col 32}{space 2} .0317347{col 43}{space 1}   -1.05{col 52}{space 3}0.293{col 60}{space 4}  .905822{col 73}{space 3} 1.030305
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1142278{col 32}{space 2} .1452897{col 43}{space 1}   -1.71{col 52}{space 3}0.088{col 60}{space 4} .0094429{col 73}{space 3} 1.381784
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       195
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     30.90
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0003
{txt}Log likelihood = {res}-114.93157{txt}{col 49}Pseudo R2{col 67}= {res}    0.1185

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.918426{col 32}{space 2}  1.29668{col 43}{space 1}    4.13{col 52}{space 3}0.000{col 60}{space 4} 2.048487{col 73}{space 3} 7.495316
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9141263{col 32}{space 2}  .297836{col 43}{space 1}   -0.28{col 52}{space 3}0.783{col 60}{space 4} .4826941{col 73}{space 3} 1.731173
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.137591{col 32}{space 2}  .097459{col 43}{space 1}    1.50{col 52}{space 3}0.132{col 60}{space 4} .9617503{col 73}{space 3}  1.34558
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8449156{col 32}{space 2} .1511125{col 43}{space 1}   -0.94{col 52}{space 3}0.346{col 60}{space 4} .5950817{col 73}{space 3} 1.199638
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .7392625{col 32}{space 2} .1255416{col 43}{space 1}   -1.78{col 52}{space 3}0.075{col 60}{space 4} .5299655{col 73}{space 3} 1.031216
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9859596{col 32}{space 2} .1639669{col 43}{space 1}   -0.09{col 52}{space 3}0.932{col 60}{space 4} .7117095{col 73}{space 3} 1.365889
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7549215{col 32}{space 2} .0905155{col 43}{space 1}   -2.34{col 52}{space 3}0.019{col 60}{space 4} .5968186{col 73}{space 3} .9549075
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .933016{col 32}{space 2} .0748411{col 43}{space 1}   -0.86{col 52}{space 3}0.387{col 60}{space 4} .7972797{col 73}{space 3} 1.091861
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.050011{col 32}{space 2} .0307482{col 43}{space 1}    1.67{col 52}{space 3}0.096{col 60}{space 4} .9914423{col 73}{space 3} 1.112039
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.395267{col 32}{space 2} 7.822565{col 43}{space 1}    1.16{col 52}{space 3}0.245{col 60}{space 4} .3146741{col 73}{space 3} 92.50493
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 15 Asian Disease 
. 
.  
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       186
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     31.22
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0003
{txt}Log likelihood = {res}-111.49033{txt}{col 49}Pseudo R2{col 67}= {res}    0.1228

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.031238{col 32}{space 2} 1.665902{col 43}{space 1}    4.88{col 52}{space 3}0.000{col 60}{space 4} 2.629251{col 73}{space 3} 9.627591
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.134494{col 32}{space 2}   .37725{col 43}{space 1}    0.38{col 52}{space 3}0.704{col 60}{space 4} .5912273{col 73}{space 3} 2.176957
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9667574{col 32}{space 2} .0826084{col 43}{space 1}   -0.40{col 52}{space 3}0.692{col 60}{space 4} .8176797{col 73}{space 3} 1.143015
{txt}{space 9}education {c |}{col 20}{res}{space 2}  1.23387{col 32}{space 2} .2201275{col 43}{space 1}    1.18{col 52}{space 3}0.239{col 60}{space 4} .8697841{col 73}{space 3}  1.75036
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8169925{col 32}{space 2} .1300058{col 43}{space 1}   -1.27{col 52}{space 3}0.204{col 60}{space 4}  .598093{col 73}{space 3} 1.116008
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9312167{col 32}{space 2} .1448422{col 43}{space 1}   -0.46{col 52}{space 3}0.647{col 60}{space 4} .6865216{col 73}{space 3} 1.263128
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9860055{col 32}{space 2} .1109539{col 43}{space 1}   -0.13{col 52}{space 3}0.900{col 60}{space 4} .7908512{col 73}{space 3} 1.229317
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  .973729{col 32}{space 2} .0640969{col 43}{space 1}   -0.40{col 52}{space 3}0.686{col 60}{space 4} .8558679{col 73}{space 3} 1.107821
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9684903{col 32}{space 2} .0308687{col 43}{space 1}   -1.00{col 52}{space 3}0.315{col 60}{space 4} .9098397{col 73}{space 3} 1.030922
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .5698303{col 32}{space 2}  .854808{col 43}{space 1}   -0.37{col 52}{space 3}0.708{col 60}{space 4} .0301197{col 73}{space 3} 10.78056
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       193
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     36.20
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-109.89886{txt}{col 49}Pseudo R2{col 67}= {res}    0.1414

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.638814{col 32}{space 2} 1.943218{col 43}{space 1}    5.02{col 52}{space 3}0.000{col 60}{space 4} 2.869798{col 73}{space 3} 11.07961
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.067871{col 32}{space 2}  .351047{col 43}{space 1}    0.20{col 52}{space 3}0.842{col 60}{space 4} .5606591{col 73}{space 3} 2.033944
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.215459{col 32}{space 2} .0968372{col 43}{space 1}    2.45{col 52}{space 3}0.014{col 60}{space 4} 1.039738{col 73}{space 3} 1.420877
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.310442{col 32}{space 2} .2614339{col 43}{space 1}    1.36{col 52}{space 3}0.175{col 60}{space 4} .8863448{col 73}{space 3} 1.937461
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.055153{col 32}{space 2} .1373743{col 43}{space 1}    0.41{col 52}{space 3}0.680{col 60}{space 4} .8175122{col 73}{space 3} 1.361872
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.111948{col 32}{space 2} .1808957{col 43}{space 1}    0.65{col 52}{space 3}0.514{col 60}{space 4} .8083658{col 73}{space 3} 1.529541
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8711981{col 32}{space 2} .1062444{col 43}{space 1}   -1.13{col 52}{space 3}0.258{col 60}{space 4} .6859795{col 73}{space 3} 1.106427
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9606744{col 32}{space 2} .0710771{col 43}{space 1}   -0.54{col 52}{space 3}0.588{col 60}{space 4} .8309956{col 73}{space 3}  1.11059
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9779751{col 32}{space 2} .0293485{col 43}{space 1}   -0.74{col 52}{space 3}0.458{col 60}{space 4}  .922112{col 73}{space 3} 1.037222
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .077801{col 32}{space 2} .1169031{col 43}{space 1}   -1.70{col 52}{space 3}0.089{col 60}{space 4} .0040924{col 73}{space 3} 1.479083
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       177
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     17.19
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0458
{txt}Log likelihood = {res}-113.95389{txt}{col 49}Pseudo R2{col 67}= {res}    0.0701

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 1.348603{col 32}{space 2}  .436401{col 43}{space 1}    0.92{col 52}{space 3}0.355{col 60}{space 4} .7152204{col 73}{space 3} 2.542896
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.651284{col 32}{space 2}     .544{col 43}{space 1}    1.52{col 52}{space 3}0.128{col 60}{space 4} .8657676{col 73}{space 3} 3.149503
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9009814{col 32}{space 2} .0773153{col 43}{space 1}   -1.22{col 52}{space 3}0.224{col 60}{space 4} .7615041{col 73}{space 3} 1.066005
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.236168{col 32}{space 2} .2436015{col 43}{space 1}    1.08{col 52}{space 3}0.282{col 60}{space 4}  .840114{col 73}{space 3} 1.818934
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .7913953{col 32}{space 2} .1070685{col 43}{space 1}   -1.73{col 52}{space 3}0.084{col 60}{space 4} .6070629{col 73}{space 3}   1.0317
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8740631{col 32}{space 2} .1394773{col 43}{space 1}   -0.84{col 52}{space 3}0.399{col 60}{space 4}  .639313{col 73}{space 3} 1.195011
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.028756{col 32}{space 2} .1186434{col 43}{space 1}    0.25{col 52}{space 3}0.806{col 60}{space 4} .8206268{col 73}{space 3} 1.289671
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.063354{col 32}{space 2} .0673622{col 43}{space 1}    0.97{col 52}{space 3}0.332{col 60}{space 4} .9391944{col 73}{space 3} 1.203928
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .915246{col 32}{space 2} .0306186{col 43}{space 1}   -2.65{col 52}{space 3}0.008{col 60}{space 4} .8571598{col 73}{space 3} .9772685
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.057025{col 32}{space 2}    1.482{col 43}{space 1}    0.04{col 52}{space 3}0.968{col 60}{space 4} .0677111{col 73}{space 3} 16.50101
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       158
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     20.71
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0140
{txt}Log likelihood = {res}-75.640387{txt}{col 49}Pseudo R2{col 67}= {res}    0.1204

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.665333{col 32}{space 2} 1.532136{col 43}{space 1}    3.11{col 52}{space 3}0.002{col 60}{space 4} 1.615492{col 73}{space 3} 8.316144
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.42365{col 32}{space 2}  .599642{col 43}{space 1}    0.84{col 52}{space 3}0.402{col 60}{space 4}  .623558{col 73}{space 3} 3.250347
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9543531{col 32}{space 2}  .115812{col 43}{space 1}   -0.39{col 52}{space 3}0.700{col 60}{space 4} .7523409{col 73}{space 3} 1.210608
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9095023{col 32}{space 2} .2068356{col 43}{space 1}   -0.42{col 52}{space 3}0.677{col 60}{space 4} .5824072{col 73}{space 3} 1.420302
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9369513{col 32}{space 2} .1885995{col 43}{space 1}   -0.32{col 52}{space 3}0.746{col 60}{space 4} .6315069{col 73}{space 3} 1.390132
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9652144{col 32}{space 2} .1711512{col 43}{space 1}   -0.20{col 52}{space 3}0.842{col 60}{space 4} .6818507{col 73}{space 3} 1.366339
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7883418{col 32}{space 2} .1082962{col 43}{space 1}   -1.73{col 52}{space 3}0.083{col 60}{space 4} .6022588{col 73}{space 3}  1.03192
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9402534{col 32}{space 2}  .090427{col 43}{space 1}   -0.64{col 52}{space 3}0.522{col 60}{space 4} .7787217{col 73}{space 3} 1.135292
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9186967{col 32}{space 2} .0418104{col 43}{space 1}   -1.86{col 52}{space 3}0.062{col 60}{space 4} .8402983{col 73}{space 3}  1.00441
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 4.480336{col 32}{space 2} 9.042895{col 43}{space 1}    0.74{col 52}{space 3}0.457{col 60}{space 4} .0857603{col 73}{space 3} 234.0641
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       188
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     17.92
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0361
{txt}Log likelihood = {res}-115.66489{txt}{col 49}Pseudo R2{col 67}= {res}    0.0719

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.189532{col 32}{space 2} 1.049974{col 43}{space 1}    3.52{col 52}{space 3}0.000{col 60}{space 4}  1.67308{col 73}{space 3} 6.080472
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.191106{col 32}{space 2} .3835132{col 43}{space 1}    0.54{col 52}{space 3}0.587{col 60}{space 4}  .633694{col 73}{space 3} 2.238829
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9374908{col 32}{space 2} .0722934{col 43}{space 1}   -0.84{col 52}{space 3}0.403{col 60}{space 4} .8059864{col 73}{space 3} 1.090451
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .987448{col 32}{space 2} .1933041{col 43}{space 1}   -0.06{col 52}{space 3}0.949{col 60}{space 4} .6727937{col 73}{space 3} 1.449261
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.036374{col 32}{space 2} .1346289{col 43}{space 1}    0.28{col 52}{space 3}0.783{col 60}{space 4}  .803419{col 73}{space 3} 1.336875
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.115952{col 32}{space 2} .1646201{col 43}{space 1}    0.74{col 52}{space 3}0.457{col 60}{space 4} .8357569{col 73}{space 3} 1.490084
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.030825{col 32}{space 2} .1068877{col 43}{space 1}    0.29{col 52}{space 3}0.770{col 60}{space 4} .8412454{col 73}{space 3} 1.263128
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9990381{col 32}{space 2} .0723524{col 43}{space 1}   -0.01{col 52}{space 3}0.989{col 60}{space 4} .8668346{col 73}{space 3} 1.151404
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9305034{col 32}{space 2} .0311032{col 43}{space 1}   -2.15{col 52}{space 3}0.031{col 60}{space 4} .8714963{col 73}{space 3} .9935058
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3591799{col 32}{space 2} .4718408{col 43}{space 1}   -0.78{col 52}{space 3}0.436{col 60}{space 4} .0273603{col 73}{space 3} 4.715228
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       191
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     26.82
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0015
{txt}Log likelihood = {res}-105.46502{txt}{col 49}Pseudo R2{col 67}= {res}    0.1128

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.862864{col 32}{space 2} 1.730668{col 43}{space 1}    4.44{col 52}{space 3}0.000{col 60}{space 4} 2.420772{col 73}{space 3} 9.768553
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .7908152{col 32}{space 2} .2746816{col 43}{space 1}   -0.68{col 52}{space 3}0.499{col 60}{space 4} .4003306{col 73}{space 3}  1.56218
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.055537{col 32}{space 2} .0959413{col 43}{space 1}    0.59{col 52}{space 3}0.552{col 60}{space 4} .8832931{col 73}{space 3} 1.261369
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.272275{col 32}{space 2} .2606784{col 43}{space 1}    1.18{col 52}{space 3}0.240{col 60}{space 4} .8514847{col 73}{space 3} 1.901012
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8848212{col 32}{space 2} .1367434{col 43}{space 1}   -0.79{col 52}{space 3}0.428{col 60}{space 4} .6535937{col 73}{space 3} 1.197852
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.039544{col 32}{space 2} .1632747{col 43}{space 1}    0.25{col 52}{space 3}0.805{col 60}{space 4} .7640997{col 73}{space 3} 1.414282
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8367996{col 32}{space 2} .0977347{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4} .6655868{col 73}{space 3} 1.052055
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9499085{col 32}{space 2} .0684601{col 43}{space 1}   -0.71{col 52}{space 3}0.476{col 60}{space 4} .8247751{col 73}{space 3} 1.094027
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.001244{col 32}{space 2} .0335084{col 43}{space 1}    0.04{col 52}{space 3}0.970{col 60}{space 4} .9376762{col 73}{space 3} 1.069121
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .5162494{col 32}{space 2} .6861191{col 43}{space 1}   -0.50{col 52}{space 3}0.619{col 60}{space 4} .0381569{col 73}{space 3} 6.984664
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       197
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     28.19
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0009
{txt}Log likelihood = {res}-120.00607{txt}{col 49}Pseudo R2{col 67}= {res}    0.1051

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.834238{col 32}{space 2} 1.233756{col 43}{space 1}    4.18{col 52}{space 3}0.000{col 60}{space 4} 2.040727{col 73}{space 3} 7.203991
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.160071{col 32}{space 2} .3677565{col 43}{space 1}    0.47{col 52}{space 3}0.640{col 60}{space 4} .6232229{col 73}{space 3} 2.159364
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.00187{col 32}{space 2} .0820475{col 43}{space 1}    0.02{col 52}{space 3}0.982{col 60}{space 4} .8533024{col 73}{space 3} 1.176305
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.128366{col 32}{space 2} .2059892{col 43}{space 1}    0.66{col 52}{space 3}0.508{col 60}{space 4}  .788967{col 73}{space 3} 1.613769
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9341416{col 32}{space 2} .1433398{col 43}{space 1}   -0.44{col 52}{space 3}0.657{col 60}{space 4} .6915119{col 73}{space 3} 1.261902
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.334761{col 32}{space 2} .2263415{col 43}{space 1}    1.70{col 52}{space 3}0.089{col 60}{space 4} .9573294{col 73}{space 3} 1.860997
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7920669{col 32}{space 2}  .091231{col 43}{space 1}   -2.02{col 52}{space 3}0.043{col 60}{space 4} .6320038{col 73}{space 3} .9926681
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9511703{col 32}{space 2} .0731788{col 43}{space 1}   -0.65{col 52}{space 3}0.515{col 60}{space 4} .8180327{col 73}{space 3} 1.105976
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9585786{col 32}{space 2} .0286949{col 43}{space 1}   -1.41{col 52}{space 3}0.158{col 60}{space 4} .9039557{col 73}{space 3} 1.016502
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9551139{col 32}{space 2} 1.332911{col 43}{space 1}   -0.03{col 52}{space 3}0.974{col 60}{space 4} .0619668{col 73}{space 3} 14.72146
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 16 Aboria 
. 
. 
.  
.  
.  
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       159
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.22
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-89.190363{txt}{col 49}Pseudo R2{col 67}= {res}    0.1840

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 8.372335{col 32}{space 2} 3.272654{col 43}{space 1}    5.44{col 52}{space 3}0.000{col 60}{space 4} 3.891538{col 73}{space 3} 18.01241
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.006055{col 32}{space 2} .3730066{col 43}{space 1}    0.02{col 52}{space 3}0.987{col 60}{space 4} .4864392{col 73}{space 3} 2.080724
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8498271{col 32}{space 2} .0897023{col 43}{space 1}   -1.54{col 52}{space 3}0.123{col 60}{space 4} .6910082{col 73}{space 3} 1.045148
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8031231{col 32}{space 2} .1536747{col 43}{space 1}   -1.15{col 52}{space 3}0.252{col 60}{space 4} .5519602{col 73}{space 3} 1.168575
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.153031{col 32}{space 2}  .194315{col 43}{space 1}    0.84{col 52}{space 3}0.398{col 60}{space 4} .8286897{col 73}{space 3} 1.604316
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.109905{col 32}{space 2} .1897205{col 43}{space 1}    0.61{col 52}{space 3}0.542{col 60}{space 4} .7939376{col 73}{space 3} 1.551619
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8353501{col 32}{space 2} .1085512{col 43}{space 1}   -1.38{col 52}{space 3}0.166{col 60}{space 4} .6475264{col 73}{space 3} 1.077654
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9730947{col 32}{space 2} .0759983{col 43}{space 1}   -0.35{col 52}{space 3}0.727{col 60}{space 4}  .834981{col 73}{space 3} 1.134054
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9778218{col 32}{space 2} .0409087{col 43}{space 1}   -0.54{col 52}{space 3}0.592{col 60}{space 4} .9008415{col 73}{space 3}  1.06138
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 7.568349{col 32}{space 2} 13.39566{col 43}{space 1}    1.14{col 52}{space 3}0.253{col 60}{space 4} .2357274{col 73}{space 3} 242.9921
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       164
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     34.38
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-95.703756{txt}{col 49}Pseudo R2{col 67}= {res}    0.1523

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.589849{col 32}{space 2} 1.665216{col 43}{space 1}    4.20{col 52}{space 3}0.000{col 60}{space 4}  2.25413{col 73}{space 3}  9.34583
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9113775{col 32}{space 2} .3198101{col 43}{space 1}   -0.26{col 52}{space 3}0.791{col 60}{space 4} .4581466{col 73}{space 3} 1.812976
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9159359{col 32}{space 2} .0755326{col 43}{space 1}   -1.06{col 52}{space 3}0.287{col 60}{space 4} .7792393{col 73}{space 3} 1.076612
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9014705{col 32}{space 2} .1944904{col 43}{space 1}   -0.48{col 52}{space 3}0.631{col 60}{space 4} .5906178{col 73}{space 3}  1.37593
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.240924{col 32}{space 2} .1843196{col 43}{space 1}    1.45{col 52}{space 3}0.146{col 60}{space 4} .9274968{col 73}{space 3} 1.660266
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9036447{col 32}{space 2} .1496201{col 43}{space 1}   -0.61{col 52}{space 3}0.541{col 60}{space 4}  .653222{col 73}{space 3} 1.250071
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .834106{col 32}{space 2} .1111449{col 43}{space 1}   -1.36{col 52}{space 3}0.173{col 60}{space 4} .6423894{col 73}{space 3} 1.083039
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8812614{col 32}{space 2} .0696362{col 43}{space 1}   -1.60{col 52}{space 3}0.110{col 60}{space 4} .7548206{col 73}{space 3} 1.028882
{txt}politicalawareness {c |}{col 20}{res}{space 2}  .923618{col 32}{space 2} .0328006{col 43}{space 1}   -2.24{col 52}{space 3}0.025{col 60}{space 4} .8615163{col 73}{space 3} .9901963
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 17.61276{col 32}{space 2} 28.58421{col 43}{space 1}    1.77{col 52}{space 3}0.077{col 60}{space 4} .7317962{col 73}{space 3} 423.9012
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       160
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     57.13
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -80.21551{txt}{col 49}Pseudo R2{col 67}= {res}    0.2626

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 9.141577{col 32}{space 2} 4.026436{col 43}{space 1}    5.02{col 52}{space 3}0.000{col 60}{space 4} 3.855732{col 73}{space 3} 21.67382
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  2.51396{col 32}{space 2} 1.037173{col 43}{space 1}    2.23{col 52}{space 3}0.025{col 60}{space 4} 1.119907{col 73}{space 3}  5.64332
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.12613{col 32}{space 2} .1408989{col 43}{space 1}    0.95{col 52}{space 3}0.342{col 60}{space 4} .8812272{col 73}{space 3} 1.439093
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.685071{col 32}{space 2} .4124627{col 43}{space 1}    2.13{col 52}{space 3}0.033{col 60}{space 4} 1.042955{col 73}{space 3} 2.722518
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  .984791{col 32}{space 2} .1722243{col 43}{space 1}   -0.09{col 52}{space 3}0.930{col 60}{space 4} .6990085{col 73}{space 3} 1.387413
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.050659{col 32}{space 2} .1934822{col 43}{space 1}    0.27{col 52}{space 3}0.788{col 60}{space 4} .7323355{col 73}{space 3} 1.507347
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9309764{col 32}{space 2} .1318905{col 43}{space 1}   -0.50{col 52}{space 3}0.614{col 60}{space 4} .7052609{col 73}{space 3} 1.228931
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.122332{col 32}{space 2}  .089461{col 43}{space 1}    1.45{col 52}{space 3}0.148{col 60}{space 4} .9600023{col 73}{space 3} 1.312111
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8264516{col 32}{space 2} .0376019{col 43}{space 1}   -4.19{col 52}{space 3}0.000{col 60}{space 4} .7559436{col 73}{space 3} .9035358
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0330337{col 32}{space 2} .0631556{col 43}{space 1}   -1.78{col 52}{space 3}0.074{col 60}{space 4} .0007791{col 73}{space 3} 1.400654
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       161
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.62
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-91.207707{txt}{col 49}Pseudo R2{col 67}= {res}    0.1821

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.059336{col 32}{space 2} 2.599542{col 43}{space 1}    5.31{col 52}{space 3}0.000{col 60}{space 4} 3.430173{col 73}{space 3}  14.5282
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.625123{col 32}{space 2} .6235633{col 43}{space 1}    1.27{col 52}{space 3}0.206{col 60}{space 4} .7660871{col 73}{space 3} 3.447419
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  .920145{col 32}{space 2} .0959034{col 43}{space 1}   -0.80{col 52}{space 3}0.425{col 60}{space 4} .7501337{col 73}{space 3} 1.128688
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9110178{col 32}{space 2} .1828955{col 43}{space 1}   -0.46{col 52}{space 3}0.643{col 60}{space 4} .6146672{col 73}{space 3} 1.350248
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.027529{col 32}{space 2} .1684372{col 43}{space 1}    0.17{col 52}{space 3}0.868{col 60}{space 4} .7451803{col 73}{space 3}  1.41686
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6685213{col 32}{space 2} .1136497{col 43}{space 1}   -2.37{col 52}{space 3}0.018{col 60}{space 4} .4790817{col 73}{space 3} .9328695
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.043742{col 32}{space 2}  .129394{col 43}{space 1}    0.35{col 52}{space 3}0.730{col 60}{space 4} .8185943{col 73}{space 3} 1.330815
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9935327{col 32}{space 2} .0853212{col 43}{space 1}   -0.08{col 52}{space 3}0.940{col 60}{space 4} .8396221{col 73}{space 3} 1.175657
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9632029{col 32}{space 2} .0379356{col 43}{space 1}   -0.95{col 52}{space 3}0.341{col 60}{space 4} .8916478{col 73}{space 3}   1.0405
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.581909{col 32}{space 2} 2.793593{col 43}{space 1}    0.26{col 52}{space 3}0.795{col 60}{space 4} .0496582{col 73}{space 3} 50.39321
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       158
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     31.61
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0002
{txt}Log likelihood = {res}-93.090165{txt}{col 49}Pseudo R2{col 67}= {res}    0.1451

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.288201{col 32}{space 2} 1.954248{col 43}{space 1}    4.51{col 52}{space 3}0.000{col 60}{space 4} 2.562993{col 73}{space 3}  10.9111
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9400165{col 32}{space 2} .3399439{col 43}{space 1}   -0.17{col 52}{space 3}0.864{col 60}{space 4} .4627114{col 73}{space 3}  1.90968
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.155538{col 32}{space 2} .0962125{col 43}{space 1}    1.74{col 52}{space 3}0.083{col 60}{space 4} .9815474{col 73}{space 3}  1.36037
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.297603{col 32}{space 2} .2926816{col 43}{space 1}    1.16{col 52}{space 3}0.248{col 60}{space 4} .8339664{col 73}{space 3} 2.018994
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9378988{col 32}{space 2}  .143616{col 43}{space 1}   -0.42{col 52}{space 3}0.675{col 60}{space 4} .6947291{col 73}{space 3} 1.266183
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.109959{col 32}{space 2} .1743677{col 43}{space 1}    0.66{col 52}{space 3}0.507{col 60}{space 4} .8158093{col 73}{space 3} 1.510169
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9799172{col 32}{space 2} .1086632{col 43}{space 1}   -0.18{col 52}{space 3}0.855{col 60}{space 4}  .788496{col 73}{space 3} 1.217809
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.080133{col 32}{space 2} .0864817{col 43}{space 1}    0.96{col 52}{space 3}0.336{col 60}{space 4} .9232618{col 73}{space 3} 1.263657
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8999382{col 32}{space 2} .0381184{col 43}{space 1}   -2.49{col 52}{space 3}0.013{col 60}{space 4} .8282445{col 73}{space 3} .9778377
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1390469{col 32}{space 2} .2006481{col 43}{space 1}   -1.37{col 52}{space 3}0.172{col 60}{space 4} .0082197{col 73}{space 3} 2.352157
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       173
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     22.37
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0078
{txt}Log likelihood = {res}-108.65563{txt}{col 49}Pseudo R2{col 67}= {res}    0.0933

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  2.91296{col 32}{space 2} .9887474{col 43}{space 1}    3.15{col 52}{space 3}0.002{col 60}{space 4} 1.497651{col 73}{space 3} 5.665761
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.536749{col 32}{space 2} .9067995{col 43}{space 1}    2.60{col 52}{space 3}0.009{col 60}{space 4} 1.258933{col 73}{space 3} 5.111548
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.127693{col 32}{space 2} .0966669{col 43}{space 1}    1.40{col 52}{space 3}0.161{col 60}{space 4} .9532904{col 73}{space 3} 1.334003
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9419313{col 32}{space 2} .1789618{col 43}{space 1}   -0.31{col 52}{space 3}0.753{col 60}{space 4}  .649076{col 73}{space 3} 1.366919
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.009711{col 32}{space 2} .1493833{col 43}{space 1}    0.07{col 52}{space 3}0.948{col 60}{space 4} .7555523{col 73}{space 3} 1.349365
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8891819{col 32}{space 2} .1379717{col 43}{space 1}   -0.76{col 52}{space 3}0.449{col 60}{space 4} .6560126{col 73}{space 3} 1.205228
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8722018{col 32}{space 2} .0997145{col 43}{space 1}   -1.20{col 52}{space 3}0.232{col 60}{space 4} .6971132{col 73}{space 3} 1.091266
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.031727{col 32}{space 2}  .071472{col 43}{space 1}    0.45{col 52}{space 3}0.652{col 60}{space 4}  .900738{col 73}{space 3} 1.181765
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9806908{col 32}{space 2} .0330607{col 43}{space 1}   -0.58{col 52}{space 3}0.563{col 60}{space 4} .9179873{col 73}{space 3} 1.047677
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2926922{col 32}{space 2} .3679385{col 43}{space 1}   -0.98{col 52}{space 3}0.328{col 60}{space 4} .0249104{col 73}{space 3}  3.43908
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq27_aboria_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       160
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     21.31
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0113
{txt}Log likelihood = {res}-100.19613{txt}{col 49}Pseudo R2{col 67}= {res}    0.0961

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    dvq27_aboria_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.394011{col 32}{space 2} 1.188781{col 43}{space 1}    3.49{col 52}{space 3}0.000{col 60}{space 4} 1.708333{col 73}{space 3} 6.743011
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  .918822{col 32}{space 2} .3133149{col 43}{space 1}   -0.25{col 52}{space 3}0.804{col 60}{space 4}   .47095{col 73}{space 3} 1.792619
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9573333{col 32}{space 2} .0880876{col 43}{space 1}   -0.47{col 52}{space 3}0.636{col 60}{space 4} .7993577{col 73}{space 3} 1.146529
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.055629{col 32}{space 2}  .214803{col 43}{space 1}    0.27{col 52}{space 3}0.790{col 60}{space 4} .7084446{col 73}{space 3} 1.572957
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.032306{col 32}{space 2} .1694068{col 43}{space 1}    0.19{col 52}{space 3}0.846{col 60}{space 4} .7483794{col 73}{space 3} 1.423951
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.082205{col 32}{space 2} .1911677{col 43}{space 1}    0.45{col 52}{space 3}0.655{col 60}{space 4} .7655049{col 73}{space 3} 1.529929
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8007755{col 32}{space 2} .1011165{col 43}{space 1}   -1.76{col 52}{space 3}0.078{col 60}{space 4} .6252114{col 73}{space 3} 1.025639
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9235312{col 32}{space 2} .0762956{col 43}{space 1}   -0.96{col 52}{space 3}0.336{col 60}{space 4} .7854731{col 73}{space 3} 1.085855
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9448747{col 32}{space 2} .0332149{col 43}{space 1}   -1.61{col 52}{space 3}0.107{col 60}{space 4} .8819666{col 73}{space 3}  1.01227
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 7.896472{col 32}{space 2} 13.00609{col 43}{space 1}    1.25{col 52}{space 3}0.210{col 60}{space 4} .3129241{col 73}{space 3} 199.2632
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
. *Table 17 Venezuela 
. 
. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       175
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     51.80
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-78.798303{txt}{col 49}Pseudo R2{col 67}= {res}    0.2474

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 14.20874{col 32}{space 2} 6.922311{col 43}{space 1}    5.45{col 52}{space 3}0.000{col 60}{space 4} 5.468416{col 73}{space 3} 36.91899
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.415517{col 32}{space 2} .5808003{col 43}{space 1}    0.85{col 52}{space 3}0.397{col 60}{space 4} .6333724{col 73}{space 3} 3.163525
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.19774{col 32}{space 2} .1214987{col 43}{space 1}    1.78{col 52}{space 3}0.075{col 60}{space 4} .9817861{col 73}{space 3} 1.461196
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.079973{col 32}{space 2} .2154979{col 43}{space 1}    0.39{col 52}{space 3}0.700{col 60}{space 4} .7304055{col 73}{space 3} 1.596841
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8620526{col 32}{space 2} .1520436{col 43}{space 1}   -0.84{col 52}{space 3}0.400{col 60}{space 4} .6101042{col 73}{space 3} 1.218045
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.082986{col 32}{space 2} .1997566{col 43}{space 1}    0.43{col 52}{space 3}0.666{col 60}{space 4} .7544295{col 73}{space 3} 1.554629
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9816211{col 32}{space 2} .1338577{col 43}{space 1}   -0.14{col 52}{space 3}0.892{col 60}{space 4} .7513992{col 73}{space 3} 1.282381
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9400377{col 32}{space 2} .0781264{col 43}{space 1}   -0.74{col 52}{space 3}0.457{col 60}{space 4} .7987337{col 73}{space 3}  1.10634
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9771883{col 32}{space 2} .0437722{col 43}{space 1}   -0.52{col 52}{space 3}0.606{col 60}{space 4} .8950547{col 73}{space 3} 1.066859
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3507172{col 32}{space 2} .6420355{col 43}{space 1}   -0.57{col 52}{space 3}0.567{col 60}{space 4} .0096988{col 73}{space 3} 12.68227
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       167
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     26.30
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0018
{txt}Log likelihood = {res}-97.004805{txt}{col 49}Pseudo R2{col 67}= {res}    0.1194

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 3.797578{col 32}{space 2} 1.419439{col 43}{space 1}    3.57{col 52}{space 3}0.000{col 60}{space 4} 1.825362{col 73}{space 3} 7.900677
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.085281{col 32}{space 2} .3867333{col 43}{space 1}    0.23{col 52}{space 3}0.818{col 60}{space 4} .5397858{col 73}{space 3}  2.18204
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.056901{col 32}{space 2} .0873245{col 43}{space 1}    0.67{col 52}{space 3}0.503{col 60}{space 4} .8988873{col 73}{space 3} 1.242691
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.266869{col 32}{space 2} .2821576{col 43}{space 1}    1.06{col 52}{space 3}0.288{col 60}{space 4} .8187503{col 73}{space 3} 1.960251
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.031197{col 32}{space 2} .1454044{col 43}{space 1}    0.22{col 52}{space 3}0.828{col 60}{space 4} .7821996{col 73}{space 3} 1.359458
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  .840033{col 32}{space 2} .1430827{col 43}{space 1}   -1.02{col 52}{space 3}0.306{col 60}{space 4} .6016048{col 73}{space 3} 1.172955
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.130551{col 32}{space 2}    .1423{col 43}{space 1}    0.97{col 52}{space 3}0.330{col 60}{space 4} .8833877{col 73}{space 3} 1.446869
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9124669{col 32}{space 2} .0705039{col 43}{space 1}   -1.19{col 52}{space 3}0.236{col 60}{space 4} .7842365{col 73}{space 3} 1.061664
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9064806{col 32}{space 2}  .032441{col 43}{space 1}   -2.74{col 52}{space 3}0.006{col 60}{space 4}  .845076{col 73}{space 3} .9723469
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .7667418{col 32}{space 2} 1.171015{col 43}{space 1}   -0.17{col 52}{space 3}0.862{col 60}{space 4} .0384275{col 73}{space 3} 15.29876
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       163
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     47.81
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-84.843276{txt}{col 49}Pseudo R2{col 67}= {res}    0.2198

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.779181{col 32}{space 2} 2.779048{col 43}{space 1}    4.67{col 52}{space 3}0.000{col 60}{space 4} 3.035546{col 73}{space 3} 15.13971
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.894199{col 32}{space 2} .7503741{col 43}{space 1}    1.61{col 52}{space 3}0.107{col 60}{space 4} .8714203{col 73}{space 3} 4.117402
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9398424{col 32}{space 2} .1064548{col 43}{space 1}   -0.55{col 52}{space 3}0.584{col 60}{space 4} .7527322{col 73}{space 3} 1.173463
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.544155{col 32}{space 2} .3517591{col 43}{space 1}    1.91{col 52}{space 3}0.056{col 60}{space 4}  .988068{col 73}{space 3} 2.413209
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  .811252{col 32}{space 2} .1380805{col 43}{space 1}   -1.23{col 52}{space 3}0.219{col 60}{space 4} .5811331{col 73}{space 3} 1.132494
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9060581{col 32}{space 2} .1646967{col 43}{space 1}   -0.54{col 52}{space 3}0.587{col 60}{space 4} .6344988{col 73}{space 3} 1.293842
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8922909{col 32}{space 2} .1322831{col 43}{space 1}   -0.77{col 52}{space 3}0.442{col 60}{space 4} .6672903{col 73}{space 3} 1.193158
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8749114{col 32}{space 2} .0691668{col 43}{space 1}   -1.69{col 52}{space 3}0.091{col 60}{space 4} .7493276{col 73}{space 3} 1.021543
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8813185{col 32}{space 2} .0353562{col 43}{space 1}   -3.15{col 52}{space 3}0.002{col 60}{space 4} .8146759{col 73}{space 3} .9534127
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 3.367906{col 32}{space 2} 6.255815{col 43}{space 1}    0.65{col 52}{space 3}0.513{col 60}{space 4} .0883631{col 73}{space 3} 128.3657
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       165
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     31.02
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0003
{txt}Log likelihood = {res} -95.53673{txt}{col 49}Pseudo R2{col 67}= {res}    0.1397

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.464967{col 32}{space 2} 1.603857{col 43}{space 1}    4.17{col 52}{space 3}0.000{col 60}{space 4} 2.208304{col 73}{space 3} 9.027712
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.76599{col 32}{space 2} .6709464{col 43}{space 1}    1.50{col 52}{space 3}0.134{col 60}{space 4} .8386757{col 73}{space 3} 3.718624
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.06512{col 32}{space 2} .1069682{col 43}{space 1}    0.63{col 52}{space 3}0.530{col 60}{space 4} .8748104{col 73}{space 3} 1.296831
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.372211{col 32}{space 2} .2749154{col 43}{space 1}    1.58{col 52}{space 3}0.114{col 60}{space 4} .9265887{col 73}{space 3} 2.032145
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.281754{col 32}{space 2}  .210235{col 43}{space 1}    1.51{col 52}{space 3}0.130{col 60}{space 4} .9293718{col 73}{space 3} 1.767746
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7973839{col 32}{space 2} .1299491{col 43}{space 1}   -1.39{col 52}{space 3}0.165{col 60}{space 4}  .579359{col 73}{space 3} 1.097456
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.073392{col 32}{space 2} .1274168{col 43}{space 1}    0.60{col 52}{space 3}0.551{col 60}{space 4} .8505828{col 73}{space 3} 1.354565
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9642685{col 32}{space 2} .0813681{col 43}{space 1}   -0.43{col 52}{space 3}0.666{col 60}{space 4} .8172799{col 73}{space 3} 1.137693
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9254553{col 32}{space 2}   .03478{col 43}{space 1}   -2.06{col 52}{space 3}0.039{col 60}{space 4} .8597378{col 73}{space 3} .9961961
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1310231{col 32}{space 2} .2324063{col 43}{space 1}   -1.15{col 52}{space 3}0.252{col 60}{space 4} .0040504{col 73}{space 3} 4.238314
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       157
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     51.06
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-78.891679{txt}{col 49}Pseudo R2{col 67}= {res}    0.2445

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 11.50299{col 32}{space 2} 5.147555{col 43}{space 1}    5.46{col 52}{space 3}0.000{col 60}{space 4} 4.785204{col 73}{space 3} 27.65164
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.769467{col 32}{space 2} .7184598{col 43}{space 1}    1.41{col 52}{space 3}0.160{col 60}{space 4} .7984133{col 73}{space 3} 3.921547
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9635105{col 32}{space 2}  .090709{col 43}{space 1}   -0.39{col 52}{space 3}0.693{col 60}{space 4} .8011626{col 73}{space 3} 1.158757
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.220416{col 32}{space 2} .3144377{col 43}{space 1}    0.77{col 52}{space 3}0.439{col 60}{space 4} .7365416{col 73}{space 3} 2.022172
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.351263{col 32}{space 2}  .236275{col 43}{space 1}    1.72{col 52}{space 3}0.085{col 60}{space 4}  .959187{col 73}{space 3} 1.903605
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .6877747{col 32}{space 2}  .124202{col 43}{space 1}   -2.07{col 52}{space 3}0.038{col 60}{space 4} .4827605{col 73}{space 3} .9798526
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.050536{col 32}{space 2} .1286885{col 43}{space 1}    0.40{col 52}{space 3}0.687{col 60}{space 4}  .826305{col 73}{space 3} 1.335615
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9762366{col 32}{space 2} .0859139{col 43}{space 1}   -0.27{col 52}{space 3}0.785{col 60}{space 4} .8215706{col 73}{space 3} 1.160019
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8975593{col 32}{space 2} .0409305{col 43}{space 1}   -2.37{col 52}{space 3}0.018{col 60}{space 4} .8208175{col 73}{space 3}  .981476
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .5716431{col 32}{space 2} .9047418{col 43}{space 1}   -0.35{col 52}{space 3}0.724{col 60}{space 4} .0256995{col 73}{space 3} 12.71525
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       180
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     44.89
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-94.096803{txt}{col 49}Pseudo R2{col 67}= {res}    0.1926

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.924775{col 32}{space 2} 2.729377{col 43}{space 1}    4.91{col 52}{space 3}0.000{col 60}{space 4} 3.198213{col 73}{space 3} 14.99353
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.448793{col 32}{space 2} .5494033{col 43}{space 1}    0.98{col 52}{space 3}0.328{col 60}{space 4} .6889984{col 73}{space 3} 3.046451
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.085599{col 32}{space 2} .0988765{col 43}{space 1}    0.90{col 52}{space 3}0.367{col 60}{space 4} .9081175{col 73}{space 3} 1.297768
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.029106{col 32}{space 2}  .225729{col 43}{space 1}    0.13{col 52}{space 3}0.896{col 60}{space 4} .6695043{col 73}{space 3} 1.581855
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.112832{col 32}{space 2} .1729486{col 43}{space 1}    0.69{col 52}{space 3}0.492{col 60}{space 4} .8206199{col 73}{space 3} 1.509098
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .5970159{col 32}{space 2} .1119008{col 43}{space 1}   -2.75{col 52}{space 3}0.006{col 60}{space 4} .4134683{col 73}{space 3} .8620445
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9671984{col 32}{space 2}  .125447{col 43}{space 1}   -0.26{col 52}{space 3}0.797{col 60}{space 4} .7500903{col 73}{space 3} 1.247147
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.03352{col 32}{space 2} .0751926{col 43}{space 1}    0.45{col 52}{space 3}0.650{col 60}{space 4} .8961709{col 73}{space 3}  1.19192
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8990932{col 32}{space 2} .0356279{col 43}{space 1}   -2.68{col 52}{space 3}0.007{col 60}{space 4} .8319066{col 73}{space 3}  .971706
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 3.050963{col 32}{space 2}  4.30018{col 43}{space 1}    0.79{col 52}{space 3}0.429{col 60}{space 4} .1926243{col 73}{space 3} 48.32401
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq28_venezuela_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       164
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     50.67
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-80.595918{txt}{col 49}Pseudo R2{col 67}= {res}    0.2392

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} dvq28_venezuela_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.885681{col 32}{space 2} 2.534076{col 43}{space 1}    4.12{col 52}{space 3}0.000{col 60}{space 4} 2.531119{col 73}{space 3} 13.68614
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.416974{col 32}{space 2} .5617908{col 43}{space 1}    0.88{col 52}{space 3}0.379{col 60}{space 4} .6514548{col 73}{space 3}  3.08205
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.09451{col 32}{space 2} .1168453{col 43}{space 1}    0.85{col 52}{space 3}0.398{col 60}{space 4} .8878689{col 73}{space 3} 1.349244
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.215349{col 32}{space 2} .2765257{col 43}{space 1}    0.86{col 52}{space 3}0.391{col 60}{space 4} .7780885{col 73}{space 3} 1.898336
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8588732{col 32}{space 2} .1567778{col 43}{space 1}   -0.83{col 52}{space 3}0.405{col 60}{space 4} .6005534{col 73}{space 3} 1.228306
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.206768{col 32}{space 2} .2489497{col 43}{space 1}    0.91{col 52}{space 3}0.362{col 60}{space 4} .8054258{col 73}{space 3} 1.808098
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .5955764{col 32}{space 2} .0915773{col 43}{space 1}   -3.37{col 52}{space 3}0.001{col 60}{space 4} .4406102{col 73}{space 3} .8050453
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9982951{col 32}{space 2} .0949942{col 43}{space 1}   -0.02{col 52}{space 3}0.986{col 60}{space 4} .8284411{col 73}{space 3} 1.202974
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8756253{col 32}{space 2} .0364743{col 43}{space 1}   -3.19{col 52}{space 3}0.001{col 60}{space 4} .8069773{col 73}{space 3}  .950113
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 18.77047{col 32}{space 2} 36.68966{col 43}{space 1}    1.50{col 52}{space 3}0.134{col 60}{space 4} .4070766{col 73}{space 3} 865.5144
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
{txt}end of do-file

{com}. do "C:\Users\boris\AppData\Local\Temp\STD3d1c_000000.tmp"
{txt}
{com}. 
. *Table 18 Cameroon 
. 
. 
. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       192
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     98.48
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-83.178311{txt}{col 49}Pseudo R2{col 67}= {res}    0.3718

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 29.05731{col 32}{space 2} 12.31153{col 43}{space 1}    7.95{col 52}{space 3}0.000{col 60}{space 4} 12.66493{col 73}{space 3} 66.66655
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  2.18875{col 32}{space 2} .9027605{col 43}{space 1}    1.90{col 52}{space 3}0.058{col 60}{space 4} .9752457{col 73}{space 3} 4.912226
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  .903848{col 32}{space 2} .0986281{col 43}{space 1}   -0.93{col 52}{space 3}0.354{col 60}{space 4} .7298139{col 73}{space 3} 1.119383
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.307853{col 32}{space 2} .2797217{col 43}{space 1}    1.25{col 52}{space 3}0.210{col 60}{space 4} .8600138{col 73}{space 3} 1.988899
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.009042{col 32}{space 2} .1788521{col 43}{space 1}    0.05{col 52}{space 3}0.959{col 60}{space 4} .7129091{col 73}{space 3} 1.428184
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .7678475{col 32}{space 2} .1419193{col 43}{space 1}   -1.43{col 52}{space 3}0.153{col 60}{space 4} .5345022{col 73}{space 3} 1.103063
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9553792{col 32}{space 2} .1317457{col 43}{space 1}   -0.33{col 52}{space 3}0.741{col 60}{space 4} .7291151{col 73}{space 3} 1.251859
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9040214{col 32}{space 2} .0775421{col 43}{space 1}   -1.18{col 52}{space 3}0.239{col 60}{space 4}   .76413{col 73}{space 3} 1.069523
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.044604{col 32}{space 2} .0458125{col 43}{space 1}    1.00{col 52}{space 3}0.320{col 60}{space 4} .9585642{col 73}{space 3} 1.138367
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2089519{col 32}{space 2} .3810515{col 43}{space 1}   -0.86{col 52}{space 3}0.391{col 60}{space 4} .0058583{col 73}{space 3} 7.452893
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       154
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     55.29
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-77.224038{txt}{col 49}Pseudo R2{col 67}= {res}    0.2636

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 12.74874{col 32}{space 2} 5.472331{col 43}{space 1}    5.93{col 52}{space 3}0.000{col 60}{space 4} 5.496594{col 73}{space 3} 29.56931
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .7445436{col 32}{space 2}  .295663{col 43}{space 1}   -0.74{col 52}{space 3}0.458{col 60}{space 4} .3418791{col 73}{space 3} 1.621465
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}   1.1045{col 32}{space 2} .1049335{col 43}{space 1}    1.05{col 52}{space 3}0.295{col 60}{space 4} .9168475{col 73}{space 3}  1.33056
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8378739{col 32}{space 2} .2047719{col 43}{space 1}   -0.72{col 52}{space 3}0.469{col 60}{space 4} .5189788{col 73}{space 3} 1.352719
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.073173{col 32}{space 2} .1773904{col 43}{space 1}    0.43{col 52}{space 3}0.669{col 60}{space 4} .7761938{col 73}{space 3} 1.483779
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9313988{col 32}{space 2} .1738404{col 43}{space 1}   -0.38{col 52}{space 3}0.703{col 60}{space 4} .6460463{col 73}{space 3} 1.342789
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9637513{col 32}{space 2} .1428715{col 43}{space 1}   -0.25{col 52}{space 3}0.803{col 60}{space 4} .7207397{col 73}{space 3} 1.288699
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.02506{col 32}{space 2} .0874431{col 43}{space 1}    0.29{col 52}{space 3}0.772{col 60}{space 4} .8672363{col 73}{space 3} 1.211606
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9088045{col 32}{space 2} .0373717{col 43}{space 1}   -2.33{col 52}{space 3}0.020{col 60}{space 4} .8384314{col 73}{space 3} .9850843
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9944248{col 32}{space 2} 1.745798{col 43}{space 1}   -0.00{col 52}{space 3}0.997{col 60}{space 4} .0318577{col 73}{space 3} 31.04055
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       155
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     49.69
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-82.049125{txt}{col 49}Pseudo R2{col 67}= {res}    0.2324

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 9.675305{col 32}{space 2} 4.038709{col 43}{space 1}    5.44{col 52}{space 3}0.000{col 60}{space 4} 4.269257{col 73}{space 3} 21.92689
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  3.76415{col 32}{space 2} 1.579571{col 43}{space 1}    3.16{col 52}{space 3}0.002{col 60}{space 4}  1.65376{col 73}{space 3}  8.56764
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8608761{col 32}{space 2} .0927351{col 43}{space 1}   -1.39{col 52}{space 3}0.164{col 60}{space 4}  .697024{col 73}{space 3} 1.063246
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.124337{col 32}{space 2} .2660371{col 43}{space 1}    0.50{col 52}{space 3}0.620{col 60}{space 4} .7071113{col 73}{space 3} 1.787743
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9874604{col 32}{space 2} .1665407{col 43}{space 1}   -0.07{col 52}{space 3}0.940{col 60}{space 4} .7095122{col 73}{space 3} 1.374294
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8581666{col 32}{space 2} .1613857{col 43}{space 1}   -0.81{col 52}{space 3}0.416{col 60}{space 4} .5936025{col 73}{space 3} 1.240645
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.162617{col 32}{space 2} .1681865{col 43}{space 1}    1.04{col 52}{space 3}0.298{col 60}{space 4}  .875589{col 73}{space 3} 1.543737
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8956226{col 32}{space 2} .0677225{col 43}{space 1}   -1.46{col 52}{space 3}0.145{col 60}{space 4} .7722563{col 73}{space 3} 1.038696
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9774541{col 32}{space 2} .0375828{col 43}{space 1}   -0.59{col 52}{space 3}0.553{col 60}{space 4} .9065002{col 73}{space 3} 1.053962
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0794346{col 32}{space 2} .1444301{col 43}{space 1}   -1.39{col 52}{space 3}0.164{col 60}{space 4} .0022508{col 73}{space 3} 2.803408
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       161
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.22
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-86.982336{txt}{col 49}Pseudo R2{col 67}= {res}    0.1990

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 8.950701{col 32}{space 2} 3.441424{col 43}{space 1}    5.70{col 52}{space 3}0.000{col 60}{space 4} 4.212904{col 73}{space 3} 19.01659
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.47192{col 32}{space 2}  .584761{col 43}{space 1}    0.97{col 52}{space 3}0.331{col 60}{space 4} .6756483{col 73}{space 3} 3.206621
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.061539{col 32}{space 2} .1174624{col 43}{space 1}    0.54{col 52}{space 3}0.589{col 60}{space 4} .8545711{col 73}{space 3} 1.318633
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.060412{col 32}{space 2} .2108424{col 43}{space 1}    0.30{col 52}{space 3}0.768{col 60}{space 4} .7181744{col 73}{space 3}  1.56574
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.077042{col 32}{space 2} .1832733{col 43}{space 1}    0.44{col 52}{space 3}0.663{col 60}{space 4} .7715949{col 73}{space 3} 1.503406
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8689607{col 32}{space 2} .1475319{col 43}{space 1}   -0.83{col 52}{space 3}0.408{col 60}{space 4} .6229933{col 73}{space 3}  1.21204
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8986093{col 32}{space 2} .1088915{col 43}{space 1}   -0.88{col 52}{space 3}0.378{col 60}{space 4} .7086376{col 73}{space 3} 1.139509
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9467289{col 32}{space 2} .0821421{col 43}{space 1}   -0.63{col 52}{space 3}0.528{col 60}{space 4} .7986783{col 73}{space 3} 1.122224
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9833327{col 32}{space 2} .0394759{col 43}{space 1}   -0.42{col 52}{space 3}0.675{col 60}{space 4} .9089269{col 73}{space 3} 1.063829
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3397058{col 32}{space 2} .6082439{col 43}{space 1}   -0.60{col 52}{space 3}0.547{col 60}{space 4} .0101631{col 73}{space 3} 11.35484
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       152
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     42.12
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-84.178302{txt}{col 49}Pseudo R2{col 67}= {res}    0.2001

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 9.061394{col 32}{space 2} 3.613596{col 43}{space 1}    5.53{col 52}{space 3}0.000{col 60}{space 4} 4.147096{col 73}{space 3} 19.79912
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.042457{col 32}{space 2} .4004426{col 43}{space 1}    0.11{col 52}{space 3}0.914{col 60}{space 4} .4910017{col 73}{space 3} 2.213263
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.111752{col 32}{space 2} .1007345{col 43}{space 1}    1.17{col 52}{space 3}0.242{col 60}{space 4} .9308536{col 73}{space 3} 1.327805
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.448362{col 32}{space 2} .3621868{col 43}{space 1}    1.48{col 52}{space 3}0.139{col 60}{space 4} .8871972{col 73}{space 3} 2.364472
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8696697{col 32}{space 2} .1475867{col 43}{space 1}   -0.82{col 52}{space 3}0.411{col 60}{space 4} .6235937{col 73}{space 3}  1.21285
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9667242{col 32}{space 2} .1614402{col 43}{space 1}   -0.20{col 52}{space 3}0.839{col 60}{space 4} .6968741{col 73}{space 3} 1.341068
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9456125{col 32}{space 2} .1132142{col 43}{space 1}   -0.47{col 52}{space 3}0.640{col 60}{space 4} .7478293{col 73}{space 3} 1.195705
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.092169{col 32}{space 2} .0952185{col 43}{space 1}    1.01{col 52}{space 3}0.312{col 60}{space 4} .9206179{col 73}{space 3} 1.295686
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9460205{col 32}{space 2} .0407324{col 43}{space 1}   -1.29{col 52}{space 3}0.197{col 60}{space 4} .8694622{col 73}{space 3}  1.02932
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1094903{col 32}{space 2} .1693195{col 43}{space 1}   -1.43{col 52}{space 3}0.153{col 60}{space 4}  .005285{col 73}{space 3}  2.26831
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       173
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     57.86
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-85.582419{txt}{col 49}Pseudo R2{col 67}= {res}    0.2526

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 14.57142{col 32}{space 2} 6.375852{col 43}{space 1}    6.12{col 52}{space 3}0.000{col 60}{space 4} 6.180896{col 73}{space 3} 34.35204
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.873221{col 32}{space 2} .7688443{col 43}{space 1}    1.53{col 52}{space 3}0.126{col 60}{space 4} .8379574{col 73}{space 3} 4.187511
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9259202{col 32}{space 2} .0932327{col 43}{space 1}   -0.76{col 52}{space 3}0.445{col 60}{space 4}  .760089{col 73}{space 3} 1.127931
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9221467{col 32}{space 2} .1990835{col 43}{space 1}   -0.38{col 52}{space 3}0.707{col 60}{space 4} .6039945{col 73}{space 3} 1.407885
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.045478{col 32}{space 2} .1922053{col 43}{space 1}    0.24{col 52}{space 3}0.809{col 60}{space 4} .7291658{col 73}{space 3} 1.499007
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8000011{col 32}{space 2} .1400719{col 43}{space 1}   -1.27{col 52}{space 3}0.203{col 60}{space 4} .5676151{col 73}{space 3} 1.127528
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7307646{col 32}{space 2} .0956035{col 43}{space 1}   -2.40{col 52}{space 3}0.017{col 60}{space 4} .5654806{col 73}{space 3} .9443594
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9361834{col 32}{space 2}  .077083{col 43}{space 1}   -0.80{col 52}{space 3}0.423{col 60}{space 4} .7966639{col 73}{space 3} 1.100137
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.064775{col 32}{space 2} .0414152{col 43}{space 1}    1.61{col 52}{space 3}0.107{col 60}{space 4} .9866198{col 73}{space 3} 1.149122
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.930516{col 32}{space 2} 2.859018{col 43}{space 1}    0.44{col 52}{space 3}0.657{col 60}{space 4} .1059443{col 73}{space 3} 35.17785
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq29_cameroon_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       155
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     58.83
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-76.856445{txt}{col 49}Pseudo R2{col 67}= {res}    0.2768

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  dvq29_cameroon_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 13.50425{col 32}{space 2} 5.924847{col 43}{space 1}    5.93{col 52}{space 3}0.000{col 60}{space 4} 5.714978{col 73}{space 3} 31.90995
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 2.435307{col 32}{space 2}  1.01369{col 43}{space 1}    2.14{col 52}{space 3}0.032{col 60}{space 4} 1.077068{col 73}{space 3} 5.506355
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9978634{col 32}{space 2} .1062144{col 43}{space 1}   -0.02{col 52}{space 3}0.984{col 60}{space 4} .8099676{col 73}{space 3} 1.229347
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9309711{col 32}{space 2} .2264369{col 43}{space 1}   -0.29{col 52}{space 3}0.769{col 60}{space 4} .5779648{col 73}{space 3} 1.499585
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.050962{col 32}{space 2} .2001711{col 43}{space 1}    0.26{col 52}{space 3}0.794{col 60}{space 4} .7235408{col 73}{space 3} 1.526549
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.213622{col 32}{space 2} .2557492{col 43}{space 1}    0.92{col 52}{space 3}0.358{col 60}{space 4} .8029863{col 73}{space 3} 1.834252
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7739044{col 32}{space 2} .1212752{col 43}{space 1}   -1.64{col 52}{space 3}0.102{col 60}{space 4}  .569245{col 73}{space 3} 1.052145
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9652591{col 32}{space 2} .0958483{col 43}{space 1}   -0.36{col 52}{space 3}0.722{col 60}{space 4} .7945501{col 73}{space 3} 1.172645
{txt}politicalawareness {c |}{col 20}{res}{space 2} .8858433{col 32}{space 2} .0386854{col 43}{space 1}   -2.78{col 52}{space 3}0.006{col 60}{space 4} .8131757{col 73}{space 3} .9650047
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .8273076{col 32}{space 2} 1.617241{col 43}{space 1}   -0.10{col 52}{space 3}0.923{col 60}{space 4} .0179357{col 73}{space 3} 38.16069
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
. *Table 19 Trade War 
. 
. 
. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 & manipulationcheck2==1 
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     61.29
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-88.645306{txt}{col 49}Pseudo R2{col 67}= {res}    0.2569

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 13.76389{col 32}{space 2} 5.473456{col 43}{space 1}    6.59{col 52}{space 3}0.000{col 60}{space 4} 6.313144{col 73}{space 3} 30.00797
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.05934{col 32}{space 2} .4022526{col 43}{space 1}    0.15{col 52}{space 3}0.879{col 60}{space 4} .5032883{col 73}{space 3} 2.229737
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9102131{col 32}{space 2} .0892661{col 43}{space 1}   -0.96{col 52}{space 3}0.337{col 60}{space 4} .7510421{col 73}{space 3} 1.103118
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.054511{col 32}{space 2} .2131329{col 43}{space 1}    0.26{col 52}{space 3}0.793{col 60}{space 4} .7095945{col 73}{space 3} 1.567083
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8788496{col 32}{space 2} .1489069{col 43}{space 1}   -0.76{col 52}{space 3}0.446{col 60}{space 4} .6305103{col 73}{space 3} 1.225002
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9137198{col 32}{space 2} .1631524{col 43}{space 1}   -0.51{col 52}{space 3}0.613{col 60}{space 4} .6439079{col 73}{space 3} 1.296589
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}   1.0483{col 32}{space 2} .1513742{col 43}{space 1}    0.33{col 52}{space 3}0.744{col 60}{space 4} .7898999{col 73}{space 3} 1.391229
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .8207848{col 32}{space 2} .0660995{col 43}{space 1}   -2.45{col 52}{space 3}0.014{col 60}{space 4} .7009391{col 73}{space 3} .9611215
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.019769{col 32}{space 2} .0403208{col 43}{space 1}    0.50{col 52}{space 3}0.621{col 60}{space 4} .9437257{col 73}{space 3} 1.101939
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .9572187{col 32}{space 2} 1.626632{col 43}{space 1}   -0.03{col 52}{space 3}0.979{col 60}{space 4} .0342403{col 73}{space 3} 26.75993
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       176
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     28.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0007
{txt}Log likelihood = {res}-102.05867{txt}{col 49}Pseudo R2{col 67}= {res}    0.1235

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.693389{col 32}{space 2}  1.65501{col 43}{space 1}    4.38{col 52}{space 3}0.000{col 60}{space 4} 2.351424{col 73}{space 3} 9.367897
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.239191{col 32}{space 2}  .428146{col 43}{space 1}    0.62{col 52}{space 3}0.535{col 60}{space 4} .6295703{col 73}{space 3} 2.439114
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.099822{col 32}{space 2} .0879798{col 43}{space 1}    1.19{col 52}{space 3}0.234{col 60}{space 4} .9402226{col 73}{space 3} 1.286512
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.338964{col 32}{space 2} .2774277{col 43}{space 1}    1.41{col 52}{space 3}0.159{col 60}{space 4}  .892079{col 73}{space 3} 2.009714
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8205835{col 32}{space 2} .1146231{col 43}{space 1}   -1.42{col 52}{space 3}0.157{col 60}{space 4} .6240549{col 73}{space 3} 1.079003
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.195408{col 32}{space 2} .1938541{col 43}{space 1}    1.10{col 52}{space 3}0.271{col 60}{space 4} .8699228{col 73}{space 3} 1.642676
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8698595{col 32}{space 2} .1106319{col 43}{space 1}   -1.10{col 52}{space 3}0.273{col 60}{space 4} .6779384{col 73}{space 3} 1.116113
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9691822{col 32}{space 2} .0726015{col 43}{space 1}   -0.42{col 52}{space 3}0.676{col 60}{space 4} .8368388{col 73}{space 3} 1.122455
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9531196{col 32}{space 2} .0330438{col 43}{space 1}   -1.38{col 52}{space 3}0.166{col 60}{space 4} .8905062{col 73}{space 3} 1.020135
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1784334{col 32}{space 2} .2661619{col 43}{space 1}   -1.16{col 52}{space 3}0.248{col 60}{space 4}  .009589{col 73}{space 3} 3.320313
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       177
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     33.55
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res} -102.0184{txt}{col 49}Pseudo R2{col 67}= {res}    0.1412

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.396355{col 32}{space 2} 2.372409{col 43}{space 1}    5.00{col 52}{space 3}0.000{col 60}{space 4} 3.091874{col 73}{space 3} 13.23254
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.555403{col 32}{space 2} .5602032{col 43}{space 1}    1.23{col 52}{space 3}0.220{col 60}{space 4} .7678374{col 73}{space 3}  3.15077
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.216202{col 32}{space 2} .1210019{col 43}{space 1}    1.97{col 52}{space 3}0.049{col 60}{space 4} 1.000733{col 73}{space 3} 1.478063
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.117673{col 32}{space 2} .2379216{col 43}{space 1}    0.52{col 52}{space 3}0.601{col 60}{space 4} .7364065{col 73}{space 3} 1.696336
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.012571{col 32}{space 2} .1567328{col 43}{space 1}    0.08{col 52}{space 3}0.936{col 60}{space 4} .7476019{col 73}{space 3} 1.371451
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.313731{col 32}{space 2} .2253064{col 43}{space 1}    1.59{col 52}{space 3}0.112{col 60}{space 4} .9386952{col 73}{space 3} 1.838606
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9226284{col 32}{space 2} .1176125{col 43}{space 1}   -0.63{col 52}{space 3}0.528{col 60}{space 4} .7186534{col 73}{space 3} 1.184498
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.033455{col 32}{space 2}  .070231{col 43}{space 1}    0.48{col 52}{space 3}0.628{col 60}{space 4} .9045786{col 73}{space 3} 1.180694
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9930846{col 32}{space 2} .0354792{col 43}{space 1}   -0.19{col 52}{space 3}0.846{col 60}{space 4} .9259254{col 73}{space 3} 1.065115
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0144046{col 32}{space 2} .0241366{col 43}{space 1}   -2.53{col 52}{space 3}0.011{col 60}{space 4} .0005398{col 73}{space 3} .3844067
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       171
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     28.41
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0008
{txt}Log likelihood = {res}-97.202953{txt}{col 49}Pseudo R2{col 67}= {res}    0.1275

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  5.35543{col 32}{space 2} 1.931116{col 43}{space 1}    4.65{col 52}{space 3}0.000{col 60}{space 4} 2.641553{col 73}{space 3} 10.85749
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.152639{col 32}{space 2} .4194568{col 43}{space 1}    0.39{col 52}{space 3}0.696{col 60}{space 4} .5648495{col 73}{space 3}  2.35209
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9664723{col 32}{space 2} .0923626{col 43}{space 1}   -0.36{col 52}{space 3}0.721{col 60}{space 4}  .801388{col 73}{space 3} 1.165564
{txt}{space 9}education {c |}{col 20}{res}{space 2} .7990833{col 32}{space 2} .1588189{col 43}{space 1}   -1.13{col 52}{space 3}0.259{col 60}{space 4} .5412708{col 73}{space 3} 1.179694
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.076476{col 32}{space 2} .1677698{col 43}{space 1}    0.47{col 52}{space 3}0.636{col 60}{space 4} .7931286{col 73}{space 3} 1.461049
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  1.15685{col 32}{space 2} .1889186{col 43}{space 1}    0.89{col 52}{space 3}0.372{col 60}{space 4} .8399863{col 73}{space 3} 1.593243
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}   .85435{col 32}{space 2} .1065366{col 43}{space 1}   -1.26{col 52}{space 3}0.207{col 60}{space 4} .6691013{col 73}{space 3} 1.090887
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9448143{col 32}{space 2} .0799665{col 43}{space 1}   -0.67{col 52}{space 3}0.502{col 60}{space 4} .8003927{col 73}{space 3} 1.115295
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.061052{col 32}{space 2} .0379808{col 43}{space 1}    1.66{col 52}{space 3}0.098{col 60}{space 4} .9891624{col 73}{space 3} 1.138167
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .747822{col 32}{space 2} 1.271606{col 43}{space 1}   -0.17{col 52}{space 3}0.864{col 60}{space 4} .0266934{col 73}{space 3}  20.9504
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       169
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     52.48
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-87.660308{txt}{col 49}Pseudo R2{col 67}= {res}    0.2304

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 12.35452{col 32}{space 2} 4.867597{col 43}{space 1}    6.38{col 52}{space 3}0.000{col 60}{space 4} 5.707666{col 73}{space 3} 26.74198
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .5919497{col 32}{space 2} .2269708{col 43}{space 1}   -1.37{col 52}{space 3}0.171{col 60}{space 4}  .279196{col 73}{space 3} 1.255048
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9942138{col 32}{space 2}  .088146{col 43}{space 1}   -0.07{col 52}{space 3}0.948{col 60}{space 4} .8356282{col 73}{space 3} 1.182896
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9299213{col 32}{space 2} .2218594{col 43}{space 1}   -0.30{col 52}{space 3}0.761{col 60}{space 4} .5825961{col 73}{space 3} 1.484311
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9433689{col 32}{space 2} .1542271{col 43}{space 1}   -0.36{col 52}{space 3}0.721{col 60}{space 4} .6847349{col 73}{space 3} 1.299692
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.105905{col 32}{space 2} .1854949{col 43}{space 1}    0.60{col 52}{space 3}0.548{col 60}{space 4} .7960576{col 73}{space 3} 1.536352
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.024727{col 32}{space 2} .1249545{col 43}{space 1}    0.20{col 52}{space 3}0.841{col 60}{space 4} .8068879{col 73}{space 3} 1.301377
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2}  1.00182{col 32}{space 2} .0857056{col 43}{space 1}    0.02{col 52}{space 3}0.983{col 60}{space 4} .8471679{col 73}{space 3} 1.184704
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9816348{col 32}{space 2} .0383768{col 43}{space 1}   -0.47{col 52}{space 3}0.635{col 60}{space 4} .9092272{col 73}{space 3} 1.059809
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .403406{col 32}{space 2} .6424714{col 43}{space 1}   -0.57{col 52}{space 3}0.569{col 60}{space 4}  .017787{col 73}{space 3}  9.14915
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       193
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     43.99
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-105.49144{txt}{col 49}Pseudo R2{col 67}= {res}    0.1725

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 6.985044{col 32}{space 2} 2.462353{col 43}{space 1}    5.51{col 52}{space 3}0.000{col 60}{space 4} 3.500301{col 73}{space 3} 13.93904
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.009559{col 32}{space 2} .3579131{col 43}{space 1}    0.03{col 52}{space 3}0.979{col 60}{space 4} .5039184{col 73}{space 3} 2.022569
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.175173{col 32}{space 2} .1215939{col 43}{space 1}    1.56{col 52}{space 3}0.119{col 60}{space 4} .9594644{col 73}{space 3} 1.439378
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9755844{col 32}{space 2} .1898872{col 43}{space 1}   -0.13{col 52}{space 3}0.899{col 60}{space 4} .6661737{col 73}{space 3} 1.428704
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.016111{col 32}{space 2} .1487696{col 43}{space 1}    0.11{col 52}{space 3}0.913{col 60}{space 4} .7626341{col 73}{space 3} 1.353837
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.048269{col 32}{space 2} .1754579{col 43}{space 1}    0.28{col 52}{space 3}0.778{col 60}{space 4} .7550922{col 73}{space 3} 1.455278
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.046493{col 32}{space 2} .1286258{col 43}{space 1}    0.37{col 52}{space 3}0.712{col 60}{space 4} .8224589{col 73}{space 3} 1.331554
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9479187{col 32}{space 2}  .066531{col 43}{space 1}   -0.76{col 52}{space 3}0.446{col 60}{space 4} .8260918{col 73}{space 3} 1.087712
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9779395{col 32}{space 2} .0371501{col 43}{space 1}   -0.59{col 52}{space 3}0.557{col 60}{space 4} .9077712{col 73}{space 3} 1.053532
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0849342{col 32}{space 2} .1193396{col 43}{space 1}   -1.75{col 52}{space 3}0.079{col 60}{space 4} .0054085{col 73}{space 3} 1.333803
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq30_tariffs_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       169
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     32.46
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0002
{txt}Log likelihood = {res}-97.668588{txt}{col 49}Pseudo R2{col 67}= {res}    0.1425

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq30_tariffs_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.046885{col 32}{space 2} 1.850618{col 43}{space 1}    4.41{col 52}{space 3}0.000{col 60}{space 4} 2.459803{col 73}{space 3} 10.35491
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9328063{col 32}{space 2} .3286426{col 43}{space 1}   -0.20{col 52}{space 3}0.843{col 60}{space 4} .4676269{col 73}{space 3}  1.86073
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.217389{col 32}{space 2}  .117315{col 43}{space 1}    2.04{col 52}{space 3}0.041{col 60}{space 4} 1.007865{col 73}{space 3}  1.47047
{txt}{space 9}education {c |}{col 20}{res}{space 2} .8623117{col 32}{space 2} .1699873{col 43}{space 1}   -0.75{col 52}{space 3}0.452{col 60}{space 4} .5859589{col 73}{space 3} 1.268999
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .6973949{col 32}{space 2} .1268781{col 43}{space 1}   -1.98{col 52}{space 3}0.048{col 60}{space 4} .4882232{col 73}{space 3}  .996183
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9595221{col 32}{space 2}  .169761{col 43}{space 1}   -0.23{col 52}{space 3}0.815{col 60}{space 4} .6783571{col 73}{space 3} 1.357224
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .7712572{col 32}{space 2} .1018015{col 43}{space 1}   -1.97{col 52}{space 3}0.049{col 60}{space 4} .5954504{col 73}{space 3}  .998971
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9169673{col 32}{space 2} .0771271{col 43}{space 1}   -1.03{col 52}{space 3}0.303{col 60}{space 4} .7776038{col 73}{space 3} 1.081308
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.059505{col 32}{space 2} .0373051{col 43}{space 1}    1.64{col 52}{space 3}0.101{col 60}{space 4} .9888544{col 73}{space 3} 1.135204
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 3.466379{col 32}{space 2} 5.551247{col 43}{space 1}    0.78{col 52}{space 3}0.438{col 60}{space 4} .1502158{col 73}{space 3} 79.99012
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
. 
. *Table 20 Asian Disease 
. 
.  
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if nocue==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       172
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     34.09
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res} -100.4971{txt}{col 49}Pseudo R2{col 67}= {res}    0.1450

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 5.822514{col 32}{space 2} 2.013473{col 43}{space 1}    5.09{col 52}{space 3}0.000{col 60}{space 4} 2.956365{col 73}{space 3} 11.46735
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .9459497{col 32}{space 2} .3380054{col 43}{space 1}   -0.16{col 52}{space 3}0.876{col 60}{space 4}  .469589{col 73}{space 3}  1.90554
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.066458{col 32}{space 2} .1021134{col 43}{space 1}    0.67{col 52}{space 3}0.502{col 60}{space 4} .8839773{col 73}{space 3} 1.286608
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.252657{col 32}{space 2} .2378037{col 43}{space 1}    1.19{col 52}{space 3}0.235{col 60}{space 4} .8634564{col 73}{space 3} 1.817288
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8208251{col 32}{space 2} .1358522{col 43}{space 1}   -1.19{col 52}{space 3}0.233{col 60}{space 4} .5934319{col 73}{space 3} 1.135352
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .9615782{col 32}{space 2} .1543912{col 43}{space 1}   -0.24{col 52}{space 3}0.807{col 60}{space 4} .7019651{col 73}{space 3} 1.317206
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.057468{col 32}{space 2} .1298891{col 43}{space 1}    0.45{col 52}{space 3}0.649{col 60}{space 4} .8312164{col 73}{space 3} 1.345305
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.004182{col 32}{space 2} .0692423{col 43}{space 1}    0.06{col 52}{space 3}0.952{col 60}{space 4} .8772402{col 73}{space 3} 1.149492
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9725158{col 32}{space 2} .0371859{col 43}{space 1}   -0.73{col 52}{space 3}0.466{col 60}{space 4} .9022969{col 73}{space 3} 1.048199
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .1533522{col 32}{space 2} .2490026{col 43}{space 1}   -1.15{col 52}{space 3}0.248{col 60}{space 4} .0063616{col 73}{space 3} 3.696681
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, replace ctitle(No Cues) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       174
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.74
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-95.116758{txt}{col 49}Pseudo R2{col 67}= {res}    0.1764

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 7.354359{col 32}{space 2} 2.770512{col 43}{space 1}    5.30{col 52}{space 3}0.000{col 60}{space 4} 3.514655{col 73}{space 3} 15.38888
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.117964{col 32}{space 2} .4009468{col 43}{space 1}    0.31{col 52}{space 3}0.756{col 60}{space 4} .5535448{col 73}{space 3} 2.257891
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.27782{col 32}{space 2} .1148841{col 43}{space 1}    2.73{col 52}{space 3}0.006{col 60}{space 4} 1.071375{col 73}{space 3} 1.524046
{txt}{space 9}education {c |}{col 20}{res}{space 2}  1.45252{col 32}{space 2} .3148085{col 43}{space 1}    1.72{col 52}{space 3}0.085{col 60}{space 4} .9498149{col 73}{space 3}  2.22129
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9801167{col 32}{space 2}  .138883{col 43}{space 1}   -0.14{col 52}{space 3}0.887{col 60}{space 4} .7424414{col 73}{space 3} 1.293878
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.094396{col 32}{space 2} .1899472{col 43}{space 1}    0.52{col 52}{space 3}0.603{col 60}{space 4} .7788199{col 73}{space 3} 1.537843
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .9123293{col 32}{space 2} .1220558{col 43}{space 1}   -0.69{col 52}{space 3}0.493{col 60}{space 4} .7018977{col 73}{space 3} 1.185849
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9692087{col 32}{space 2} .0753993{col 43}{space 1}   -0.40{col 52}{space 3}0.688{col 60}{space 4} .8321436{col 73}{space 3}  1.12885
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9634351{col 32}{space 2} .0356667{col 43}{space 1}   -1.01{col 52}{space 3}0.314{col 60}{space 4} .8960056{col 73}{space 3} 1.035939
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0302953{col 32}{space 2} .0493081{col 43}{space 1}   -2.15{col 52}{space 3}0.032{col 60}{space 4} .0012473{col 73}{space 3} .7358316
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if demriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       162
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     16.26
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0616
{txt}Log likelihood = {res}-104.11001{txt}{col 49}Pseudo R2{col 67}= {res}    0.0724

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 1.570278{col 32}{space 2} .5349894{col 43}{space 1}    1.32{col 52}{space 3}0.185{col 60}{space 4} .8053315{col 73}{space 3} 3.061813
{txt}{space 12}gender {c |}{col 20}{res}{space 2}  1.67874{col 32}{space 2} .5797246{col 43}{space 1}    1.50{col 52}{space 3}0.134{col 60}{space 4} .8531693{col 73}{space 3} 3.303175
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .8714783{col 32}{space 2} .0819833{col 43}{space 1}   -1.46{col 52}{space 3}0.144{col 60}{space 4} .7247375{col 73}{space 3}  1.04793
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.324378{col 32}{space 2} .2711602{col 43}{space 1}    1.37{col 52}{space 3}0.170{col 60}{space 4} .8866096{col 73}{space 3} 1.978297
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .8367721{col 32}{space 2} .1179207{col 43}{space 1}   -1.26{col 52}{space 3}0.206{col 60}{space 4} .6348237{col 73}{space 3} 1.102964
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} .8441294{col 32}{space 2} .1403724{col 43}{space 1}   -1.02{col 52}{space 3}0.308{col 60}{space 4} .6093413{col 73}{space 3} 1.169385
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.039836{col 32}{space 2} .1272642{col 43}{space 1}    0.32{col 52}{space 3}0.750{col 60}{space 4} .8180643{col 73}{space 3} 1.321729
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.049648{col 32}{space 2} .0687841{col 43}{space 1}    0.74{col 52}{space 3}0.460{col 60}{space 4} .9231321{col 73}{space 3} 1.193503
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9241375{col 32}{space 2} .0345158{col 43}{space 1}   -2.11{col 52}{space 3}0.035{col 60}{space 4} .8589046{col 73}{space 3} .9943248
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .8356225{col 32}{space 2} 1.257431{col 43}{space 1}   -0.12{col 52}{space 3}0.905{col 60}{space 4} .0437659{col 73}{space 3} 15.95453
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Dem B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       139
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     21.28
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0115
{txt}Log likelihood = {res}-67.798291{txt}{col 49}Pseudo R2{col 67}= {res}    0.1356

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.107708{col 32}{space 2} 1.813468{col 43}{space 1}    3.20{col 52}{space 3}0.001{col 60}{space 4} 1.729067{col 73}{space 3} 9.758595
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.722357{col 32}{space 2} .7592477{col 43}{space 1}    1.23{col 52}{space 3}0.217{col 60}{space 4} .7259347{col 73}{space 3} 4.086477
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9715981{col 32}{space 2} .1299474{col 43}{space 1}   -0.22{col 52}{space 3}0.829{col 60}{space 4} .7475527{col 73}{space 3} 1.262791
{txt}{space 9}education {c |}{col 20}{res}{space 2} .9377871{col 32}{space 2} .2311104{col 43}{space 1}   -0.26{col 52}{space 3}0.794{col 60}{space 4} .5785384{col 73}{space 3} 1.520114
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} .9001289{col 32}{space 2} .1884899{col 43}{space 1}   -0.50{col 52}{space 3}0.615{col 60}{space 4} .5971183{col 73}{space 3} 1.356904
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2}  .904092{col 32}{space 2} .1658194{col 43}{space 1}   -0.55{col 52}{space 3}0.583{col 60}{space 4} .6310937{col 73}{space 3} 1.295184
{txt}{space 8}militarism {c |}{col 20}{res}{space 2}  .747512{col 32}{space 2} .1119284{col 43}{space 1}   -1.94{col 52}{space 3}0.052{col 60}{space 4}  .557396{col 73}{space 3} 1.002473
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9327759{col 32}{space 2} .0919852{col 43}{space 1}   -0.71{col 52}{space 3}0.480{col 60}{space 4}  .768841{col 73}{space 3} 1.131666
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9179822{col 32}{space 2} .0477116{col 43}{space 1}   -1.65{col 52}{space 3}0.100{col 60}{space 4} .8290744{col 73}{space 3} 1.016424
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.486995{col 32}{space 2} 11.73185{col 43}{space 1}    0.80{col 52}{space 3}0.426{col 60}{space 4} .0830548{col 73}{space 3}  362.497
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if repriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       165
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     19.64
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0203
{txt}Log likelihood = {res}-100.81013{txt}{col 49}Pseudo R2{col 67}= {res}    0.0888

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2}  3.72126{col 32}{space 2} 1.307193{col 43}{space 1}    3.74{col 52}{space 3}0.000{col 60}{space 4} 1.869315{col 73}{space 3}  7.40794
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.464775{col 32}{space 2}  .503753{col 43}{space 1}    1.11{col 52}{space 3}0.267{col 60}{space 4} .7465049{col 73}{space 3} 2.874147
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} .9292317{col 32}{space 2} .0770978{col 43}{space 1}   -0.88{col 52}{space 3}0.376{col 60}{space 4} .7897694{col 73}{space 3} 1.093321
{txt}{space 9}education {c |}{col 20}{res}{space 2}  .989642{col 32}{space 2} .2129212{col 43}{space 1}   -0.05{col 52}{space 3}0.961{col 60}{space 4}  .649146{col 73}{space 3} 1.508738
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2} 1.019621{col 32}{space 2} .1395002{col 43}{space 1}    0.14{col 52}{space 3}0.887{col 60}{space 4} .7797956{col 73}{space 3} 1.333203
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.155671{col 32}{space 2} .1781125{col 43}{space 1}    0.94{col 52}{space 3}0.348{col 60}{space 4} .8543717{col 73}{space 3} 1.563226
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} 1.066405{col 32}{space 2} .1182478{col 43}{space 1}    0.58{col 52}{space 3}0.562{col 60}{space 4} .8580982{col 73}{space 3} 1.325279
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} 1.032221{col 32}{space 2} .0774451{col 43}{space 1}    0.42{col 52}{space 3}0.673{col 60}{space 4} .8910645{col 73}{space 3} 1.195739
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9339318{col 32}{space 2} .0362384{col 43}{space 1}   -1.76{col 52}{space 3}0.078{col 60}{space 4} .8655394{col 73}{space 3} 1.007728
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .145471{col 32}{space 2}  .212244{col 43}{space 1}   -1.32{col 52}{space 3}0.186{col 60}{space 4} .0083342{col 73}{space 3} 2.539161
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Rep B) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskaverse==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       178
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     26.06
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0020
{txt}Log likelihood = {res}-98.581666{txt}{col 49}Pseudo R2{col 67}= {res}    0.1168

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.902842{col 32}{space 2} 1.812074{col 43}{space 1}    4.30{col 52}{space 3}0.000{col 60}{space 4} 2.376001{col 73}{space 3} 10.11694
{txt}{space 12}gender {c |}{col 20}{res}{space 2} .8692029{col 32}{space 2} .3148407{col 43}{space 1}   -0.39{col 52}{space 3}0.699{col 60}{space 4} .4273668{col 73}{space 3} 1.767834
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2} 1.038196{col 32}{space 2} .0996453{col 43}{space 1}    0.39{col 52}{space 3}0.696{col 60}{space 4} .8601648{col 73}{space 3} 1.253075
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.356543{col 32}{space 2} .2874698{col 43}{space 1}    1.44{col 52}{space 3}0.150{col 60}{space 4} .8954727{col 73}{space 3} 2.055014
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  .825898{col 32}{space 2} .1356041{col 43}{space 1}   -1.17{col 52}{space 3}0.244{col 60}{space 4} .5986427{col 73}{space 3} 1.139423
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.021502{col 32}{space 2} .1644072{col 43}{space 1}    0.13{col 52}{space 3}0.895{col 60}{space 4} .7451462{col 73}{space 3} 1.400352
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8695505{col 32}{space 2} .1052498{col 43}{space 1}   -1.15{col 52}{space 3}0.248{col 60}{space 4} .6859081{col 73}{space 3} 1.102361
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9575878{col 32}{space 2} .0699246{col 43}{space 1}   -0.59{col 52}{space 3}0.553{col 60}{space 4} .8298937{col 73}{space 3}  1.10493
{txt}politicalawareness {c |}{col 20}{res}{space 2} 1.004797{col 32}{space 2} .0370683{col 43}{space 1}    0.13{col 52}{space 3}0.897{col 60}{space 4} .9347091{col 73}{space 3} 1.080141
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .3433052{col 32}{space 2} .4763197{col 43}{space 1}   -0.77{col 52}{space 3}0.441{col 60}{space 4} .0226297{col 73}{space 3} 5.208133
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group A) dec(3) keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt""':seeout}

{com}. 
. logistic dvq31_disease_n dummyloss gender ethnicity education age_categorical nationalism militarism internationalism politicalawareness if socialriskacceptant==1 & manipulationcheck2==1
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       171
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     26.38
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0018
{txt}Log likelihood = {res}-104.67972{txt}{col 49}Pseudo R2{col 67}= {res}    0.1119

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dvq31_disease_n{col 20}{c |} Odds Ratio{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dummyloss {c |}{col 20}{res}{space 2} 4.385318{col 32}{space 2} 1.495853{col 43}{space 1}    4.33{col 52}{space 3}0.000{col 60}{space 4} 2.247253{col 73}{space 3} 8.557563
{txt}{space 12}gender {c |}{col 20}{res}{space 2} 1.368208{col 32}{space 2} .4607418{col 43}{space 1}    0.93{col 52}{space 3}0.352{col 60}{space 4} .7071498{col 73}{space 3} 2.647237
{txt}{space 9}ethnicity {c |}{col 20}{res}{space 2}  1.03418{col 32}{space 2} .0911036{col 43}{space 1}    0.38{col 52}{space 3}0.703{col 60}{space 4} .8701851{col 73}{space 3} 1.229082
{txt}{space 9}education {c |}{col 20}{res}{space 2} 1.129155{col 32}{space 2} .2248642{col 43}{space 1}    0.61{col 52}{space 3}0.542{col 60}{space 4} .7642616{col 73}{space 3} 1.668265
{txt}{space 3}age_categorical {c |}{col 20}{res}{space 2}  .931932{col 32}{space 2} .1497573{col 43}{space 1}   -0.44{col 52}{space 3}0.661{col 60}{space 4} .6801425{col 73}{space 3} 1.276934
{txt}{space 7}nationalism {c |}{col 20}{res}{space 2} 1.247059{col 32}{space 2} .2225163{col 43}{space 1}    1.24{col 52}{space 3}0.216{col 60}{space 4} .8790323{col 73}{space 3} 1.769169
{txt}{space 8}militarism {c |}{col 20}{res}{space 2} .8365252{col 32}{space 2} .1037204{col 43}{space 1}   -1.44{col 52}{space 3}0.150{col 60}{space 4}  .656053{col 73}{space 3} 1.066643
{txt}{space 2}internationalism {c |}{col 20}{res}{space 2} .9547528{col 32}{space 2} .0756532{col 43}{space 1}   -0.58{col 52}{space 3}0.559{col 60}{space 4} .8174158{col 73}{space 3} 1.115164
{txt}politicalawareness {c |}{col 20}{res}{space 2} .9774495{col 32}{space 2} .0348439{col 43}{space 1}   -0.64{col 52}{space 3}0.522{col 60}{space 4} .9114879{col 73}{space 3} 1.048185
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .4450925{col 32}{space 2} .6796221{col 43}{space 1}   -0.53{col 52}{space 3}0.596{col 60}{space 4} .0223219{col 73}{space 3}  8.87503
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline odds{txt}.{p_end}

{com}. outreg2 using myreg.doc, append ctitle(Group B) dec(3) label keep(dummyloss gender education age_categorical militarism internationalism politicalawareness) addstat(Pseudo R-squared, `e(r2_p)') eform
{txt}{stata `"shellout using `"myreg.doc"'"':myreg.doc}
{browse `"C:\ForeignPolicyAnalysisSubmission"' :dir}{com} : {txt}{stata `"seeout using "myreg.txt", label"':seeout}

{com}. 
. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\ForeignPolicyAnalysisSubmission\LogFile_FullResults.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}14 Mar 2022, 09:31:15
{txt}{.-}
{smcl}
{txt}{sf}{ul off}